forked from mirrors/qmk_userspace
More Bluetooth refactoring (#9905)
This commit is contained in:
parent
47f8947bf5
commit
3f392c09b6
5 changed files with 30 additions and 19 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue