diff options
Diffstat (limited to 'tmk_core/common/progmem.h')
-rw-r--r-- | tmk_core/common/progmem.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tmk_core/common/progmem.h b/tmk_core/common/progmem.h index 199b1bedf..5b2765625 100644 --- a/tmk_core/common/progmem.h +++ b/tmk_core/common/progmem.h | |||
@@ -5,8 +5,8 @@ | |||
5 | # include <avr/pgmspace.h> | 5 | # include <avr/pgmspace.h> |
6 | #elif defined(__arm__) | 6 | #elif defined(__arm__) |
7 | # define PROGMEM | 7 | # define PROGMEM |
8 | # define pgm_read_byte(p) *(p) | 8 | # define pgm_read_byte(p) *((unsigned char*)p) |
9 | # define pgm_read_word(p) *(p) | 9 | # define pgm_read_word(p) *((uint16_t*)p) |
10 | #endif | 10 | #endif |
11 | 11 | ||
12 | #endif | 12 | #endif |