1
0
tmk_keyboard/common/progmem.h

13 lines
220 B
C
Raw Normal View History

2014-06-17 13:41:14 +00:00
#ifndef PROGMEM_H
#define PROGMEM_H 1
#if defined(__AVR__)
# include <avr/pgmspace.h>
#elif defined(__arm__)
# define PROGMEM
# define pgm_read_byte(p) *(p)
2014-06-19 07:13:35 +00:00
# define pgm_read_word(p) *(p)
2014-06-17 13:41:14 +00:00
#endif
#endif