Use pgm_read() instead of ARDUINOJSON_READ_STATIC_ARRAY

This commit is contained in:
Benoit Blanchon
2023-01-26 14:28:35 +01:00
parent b350a96643
commit 1ec16ca94f
10 changed files with 83 additions and 86 deletions

View File

@ -2,6 +2,8 @@
// Copyright © 2014-2022, Benoit BLANCHON
// MIT License
#include "progmem_emulation.hpp"
#define ARDUINOJSON_ENABLE_PROGMEM 1
#include <ArduinoJson.h>