1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-26 07:02:15 +03:00

Add pgmspace stubs to improve compatibility with AVR libraries

This commit is contained in:
Ivan Grokhotkov
2015-01-07 01:55:27 +03:00
parent ccfbd9c969
commit 4942ceef37
2 changed files with 44 additions and 1 deletions

View File

@ -27,6 +27,7 @@
#include <math.h>
#include "binary.h"
#include "pgmspace.h"
#ifdef __cplusplus
extern "C"{
@ -140,7 +141,6 @@ void loop(void);
// On the ATmega1280, the addresses of some of the port registers are
// greater than 255, so we can't store them in uint8_t's.
#define PROGMEM
#define NOT_A_PIN 0