You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
284 B
15 lines
284 B
2 years ago
|
/**
|
||
|
* Progmem support
|
||
|
*/
|
||
|
|
||
|
#ifndef UFB_PROGMEM_H
|
||
|
#define UFB_PROGMEM_H
|
||
|
|
||
|
// if built for AVR, uncommend the include and comment the fake defines:
|
||
|
// #include <avr/pgmspace.h>
|
||
|
#define PROGMEM
|
||
|
#define pgm_read_byte(adr) (*adr)
|
||
|
#define pgm_read_dword(adr) (*adr)
|
||
|
|
||
|
#endif //UFB_PROGMEM_H
|