Fix common files for mbed
This commit is contained in:
11
common/progmem.h
Normal file
11
common/progmem.h
Normal file
@ -0,0 +1,11 @@
|
||||
#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)
|
||||
#endif
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user