Skip to content

Commit

Permalink
add pgm_read_dword for Infinity ErgoDox
Browse files Browse the repository at this point in the history
avoid the following error when `UNICODEMAP_ENABLE = yes`:

```
quantum/process_keycode/process_unicodemap.c:52:21: error: implicit declaration of function 'pgm_read_dword'
```
  • Loading branch information
ma2gedev authored and jackhumbert committed Nov 6, 2017
1 parent 89357b9 commit 27ee425
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tmk_core/common/progmem.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 27ee425

Please sign in to comment.