HCoop
/
jackhill
/
qmk
/
firmware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efaf0e8
)
Fix program mem functionality
author
Fred Sundvik
<fsundvik@gmail.com>
Fri, 16 Jun 2017 18:43:36 +0000
(21:43 +0300)
committer
Fred Sundvik
<fsundvik@gmail.com>
Sun, 18 Jun 2017 18:10:42 +0000
(21:10 +0300)
tmk_core/common/progmem.h
patch
|
blob
|
blame
|
history
diff --git
a/tmk_core/common/progmem.h
b/tmk_core/common/progmem.h
index
5b27656
..
a09f91b
100644
(file)
--- a/
tmk_core/common/progmem.h
+++ b/
tmk_core/common/progmem.h
@@
-3,7
+3,7
@@
#if defined(__AVR__)
# include <avr/pgmspace.h>
-#el
if defined(__arm__)
+#el
se
# define PROGMEM
# define pgm_read_byte(p) *((unsigned char*)p)
# define pgm_read_word(p) *((uint16_t*)p)