diff options
author | Ryan <fauxpark@gmail.com> | 2020-08-19 22:46:15 +1000 |
---|---|---|
committer | Drashna Jael're <drashna@live.com> | 2020-09-30 03:29:43 -0700 |
commit | 2d4e228d0a12ee6e14683792b4e8886e07f52763 (patch) | |
tree | 4e8e22704929fb126ff5bdf69fd07ff6fb4391c4 /tmk_core/common | |
parent | 44e16ef407ba21b4a9453004c2078610e3d2c568 (diff) |
More Bluetooth refactoring (#9905)
Diffstat (limited to 'tmk_core/common')
-rw-r--r-- | tmk_core/common/progmem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tmk_core/common/progmem.h b/tmk_core/common/progmem.h index 39a918fe98..41b5b537ce 100644 --- a/tmk_core/common/progmem.h +++ b/tmk_core/common/progmem.h @@ -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)) |