diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2017-06-16 21:43:36 +0300 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2017-06-18 21:10:42 +0300 |
commit | fdfd48e8c8a4c713be0d2d978bbe40c5f083abc5 (patch) | |
tree | aefd34143f9f87b09872fd831f9efd5a1e6bb238 /tmk_core/common/progmem.h | |
parent | efaf0e830b48bd5a8a62c4963e67fda3582e747c (diff) |
Fix program mem functionality
Diffstat (limited to 'tmk_core/common/progmem.h')
-rw-r--r-- | tmk_core/common/progmem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/common/progmem.h b/tmk_core/common/progmem.h index 5b27656250..a09f91be86 100644 --- a/tmk_core/common/progmem.h +++ b/tmk_core/common/progmem.h @@ -3,7 +3,7 @@ #if defined(__AVR__) # include <avr/pgmspace.h> -#elif defined(__arm__) +#else # define PROGMEM # define pgm_read_byte(p) *((unsigned char*)p) # define pgm_read_word(p) *((uint16_t*)p) |