SHillier - 2023-02-04

I use the dual WiFi config from the wificonfig.json. The buffer size for reading the values is too small. I think this error was in the myFP2ESP code when you initially added this feature too. I changed the following line in myDCP4ESP32-109-b1.ino from:

DynamicJsonDocument doc( (const size_t) (JSON_OBJECT_SIZE(1) + JSON_ARRAY_SIZE(2) + 120));  // allocate json buffer

to (same is in the myFP2ESP code):

DynamicJsonDocument doc( (const size_t) (JSON_OBJECT_SIZE(4) + 372));  // allocate json buffer

This fixed it.