HCoop
/
jackhill
/
qmk
/
firmware.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Software backlight improvements (#7255)
[jackhill/qmk/firmware.git]
/
tmk_core
/
common
/
progmem.h
1
#ifndef PROGMEM_H
2
#define PROGMEM_H 1
3
4
#if defined(__AVR__)
5
# include <avr/pgmspace.h>
6
#else
7
# define PROGMEM
8
# define pgm_read_byte(p) *((unsigned char*)(p))
9
# define pgm_read_word(p) *((uint16_t*)(p))
10
# define pgm_read_dword(p) *((uint32_t*)(p))
11
#endif
12
13
#endif