summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakayuki Matsubara <takayuki.1229@gmail.com>2017-11-06 22:22:35 +0900
committerJack Humbert <jack.humb@gmail.com>2017-11-06 12:09:54 -0500
commit27ee42589215f5eeec555d472dfd6d40ae4dba15 (patch)
tree450774a44e5a5872822866a590dc8384196e73ce
parent89357b96d40f6f8189da09c3d15131e22991ed4c (diff)
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' ```
-rw-r--r--tmk_core/common/progmem.h1
1 files changed, 1 insertions, 0 deletions
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