1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/common/progmem.h

13 lines
220 B
C
Raw Normal View History

2014-06-17 15:41:14 +02: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 09:13:35 +02:00
# define pgm_read_word(p) *(p)
2014-06-17 15:41:14 +02:00
#endif
#endif