projects
/
qmk_firmware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cb5bcd
)
add pgm_read_dword for Infinity ErgoDox
author
Takayuki Matsubara
<takayuki.1229@gmail.com>
Mon, 6 Nov 2017 13:22:35 +0000
(22:22 +0900)
committer
Don Armstrong
<don@donarmstrong.com>
Thu, 9 Nov 2017 22:57:42 +0000
(14:57 -0800)
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
patch
|
blob
|
history
diff --git
a/tmk_core/common/progmem.h
b/tmk_core/common/progmem.h
index a09f91be866d05f43747622b44977e443c42722c..dcc9efb3cef832b7d32b6b98a000c1be52ca7bcf 100644
(file)
--- 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