From 27ee42589215f5eeec555d472dfd6d40ae4dba15 Mon Sep 17 00:00:00 2001 From: Takayuki Matsubara Date: Mon, 6 Nov 2017 22:22:35 +0900 Subject: add pgm_read_dword for Infinity ErgoDox avoid the following error when `UNICODEMAP_ENABLE = yes`: ``` quantum/process_keycode/process_unicodemap.c:52:21: error: implicit declaration of function 'pgm_read_dword' ``` --- tmk_core/common/progmem.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tmk_core/common') diff --git a/tmk_core/common/progmem.h b/tmk_core/common/progmem.h index a09f91be86..dcc9efb3ce 100644 --- a/tmk_core/common/progmem.h +++ b/tmk_core/common/progmem.h @@ -7,6 +7,7 @@ # define PROGMEM # define pgm_read_byte(p) *((unsigned char*)p) # define pgm_read_word(p) *((uint16_t*)p) +# define pgm_read_dword(p) *((uint32_t*)p) #endif #endif -- cgit v1.2.1