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