Skip to content

Commit

Permalink
Fix pgm_read_ptr() define for ARM
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark committed Apr 2, 2020
1 parent 8544417 commit 56e6275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmk_core/common/progmem.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# define pgm_read_byte(address_short) *((uint8_t*)(address_short))
# define pgm_read_word(address_short) *((uint16_t*)(address_short))
# define pgm_read_dword(address_short) *((uint32_t*)(address_short))
# define pgm_read_ptr(address_short) *((void*)(address_short))
# define pgm_read_ptr(address_short) *((void**)(address_short))
# define strcmp_P(s1, s2) strcmp(s1, s2)
# define strcpy_P(dest, src) strcpy(dest, src)
# define strlen_P(src) strlen(src)
Expand Down

0 comments on commit 56e6275

Please sign in to comment.