mirror of
https://github.com/esp8266/Arduino.git
synced 2025-09-06 19:08:12 +03:00
import use of __PROG_TYPES_COMPAT__ define for compatibility with old arduino code (#4619)
restrict usage of deprecated typedefs "prog_*", and cast "pgm_read_*"'s address parameters to "const void*" only when __PROG_TYPES_COMPAT__ is defined. also add <avr/pgmspace.h> compatibility
This commit is contained in:
1
cores/esp8266/avr/pgmspace.h
Normal file
1
cores/esp8266/avr/pgmspace.h
Normal file
@@ -0,0 +1 @@
|
||||
#include "../pgmspace.h"
|
Reference in New Issue
Block a user