ESP32 has the same location for pgmspace.h as ESP8266; this patch simply checks for
the ESP32 preprocessor macro in the same place as the existing code checks for the ESP8266
macro, and does the same thing (include pgmspace.h instead of avr/pgmspace.h) if it is defined.
ESP32 has the same location for pgmspace.h as ESP8266; this patch simply checks for the ESP32 preprocessor macro in the same place as the existing code checks for the ESP8266 macro, and does the same thing (include pgmspace.h instead of avr/pgmspace.h) if it is defined.