1
0
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:
david gauchard
2018-04-10 12:23:33 +02:00
committed by GitHub
parent 1ca5838bed
commit 2315ac20bc
2 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1 @@
#include "../pgmspace.h"