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
|