Parcourir la source

Fix build on ESP32 (caused by espressif/arduino-esp32#7941)

Ported from 6b4dd3ff2f1a6821762f1a357b33a92c0daa0d96
Benoit Blanchon il y a 2 ans
Parent
commit
4d00ed9efc
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      examples/JsonFilterExample/JsonFilterExample.ino

+ 1 - 1
examples/JsonFilterExample/JsonFilterExample.ino

@@ -14,7 +14,7 @@ void setup() {
   while (!Serial) continue;
 
   // The huge input: an extract from OpenWeatherMap response
-  const __FlashStringHelper* input_json = F(
+  auto input_json = F(
       "{\"cod\":\"200\",\"message\":0,\"list\":[{\"dt\":1581498000,\"main\":{"
       "\"temp\":3.23,\"feels_like\":-3.63,\"temp_min\":3.23,\"temp_max\":4.62,"
       "\"pressure\":1014,\"sea_level\":1014,\"grnd_level\":1010,\"humidity\":"