Skip to content

Commit 3ea28b0

Browse files
authoredApr 2, 2020
Fix pgm_read_ptr() define for ARM (qmk#8658)
1 parent ff6bda6 commit 3ea28b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tmk_core/common/progmem.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# define pgm_read_byte(address_short) *((uint8_t*)(address_short))
99
# define pgm_read_word(address_short) *((uint16_t*)(address_short))
1010
# define pgm_read_dword(address_short) *((uint32_t*)(address_short))
11-
# define pgm_read_ptr(address_short) *((void*)(address_short))
11+
# define pgm_read_ptr(address_short) *((void**)(address_short))
1212
# define strcmp_P(s1, s2) strcmp(s1, s2)
1313
# define strcpy_P(dest, src) strcpy(dest, src)
1414
# define strlen_P(src) strlen(src)

0 commit comments

Comments
 (0)
Please sign in to comment.