More Bluetooth refactoring (#9905)

This commit is contained in:
Ryan 2020-08-19 22:46:15 +10:00 committed by James Young
parent 47f8947bf5
commit 3f392c09b6
5 changed files with 30 additions and 19 deletions

View file

@ -4,6 +4,7 @@
# include <avr/pgmspace.h>
#else
# define PROGMEM
# define PGM_P const char *
# define memcpy_P(dest, src, n) memcpy(dest, src, n)
# define pgm_read_byte(address_short) *((uint8_t*)(address_short))
# define pgm_read_word(address_short) *((uint16_t*)(address_short))