From e7777b10c10b5b1d13460b4023a06fbd471d8e9f Mon Sep 17 00:00:00 2001 From: Robert Strouse Date: Thu, 11 Jan 2024 13:04:13 -0800 Subject: [PATCH] fix variable name #234 --- ConfigFile.h | 2 +- SomfyController.ino.esp32.bin | Bin 1300176 -> 1300176 bytes SomfyController.ino.esp32s3.bin | Bin 1180192 -> 1180192 bytes Web.cpp | 6 +++--- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ConfigFile.h b/ConfigFile.h index 12ec5ae..e95668f 100644 --- a/ConfigFile.h +++ b/ConfigFile.h @@ -83,7 +83,7 @@ class ShadeConfigFile : public ConfigFile { static bool restore(SomfyShadeController *somfy, const char *filename, restore_options_t &opts); bool begin(const char *filename, bool readOnly = false); bool begin(bool readOnly = false); - bool save(SomfyShadeController *sofmy); + bool save(SomfyShadeController *somfy); bool backup(SomfyShadeController *somfy); bool loadFile(SomfyShadeController *somfy, const char *filename = "/shades.cfg"); bool restoreFile(SomfyShadeController *somfy, const char *filename, restore_options_t &opts); diff --git a/SomfyController.ino.esp32.bin b/SomfyController.ino.esp32.bin index 4e8e755aac6c9346240718365515ff65b49b30ac..1ebbc0d4300d4b0f497cc01d62da4bd4b1c36727 100644 GIT binary patch delta 183 zcmcbx*8jp<{|Oruw9=M3ZQgYIiQ*cA-)6fEsu|yGyqS0RBU4@9j(J*as|qJK3IsGO zFt#f&f-n;hGXpWpb_GUOmLrTywyPdxHDF|1GCk}VYcS)I_EpDNftU@5*@2h?h&h3n z3y8Uam3T-$FF(M`egUD-|jIp7i~4a Paov<-(YkjkYeb6xd5cl2 delta 183 zcmcbx*8jp<{|Oru%;X*3v1(LaaY?+AFS+bj$lIfeck&mBep7T)*cj>hCUdUv-QXh}nRc9f&!Am=lP( zfS4PId4QM~i1~n+ABY8jSP+PXwy!!S%qpPB+&H~SXjXPy+J_k9xYYg+3tFDMI}z~0 O;k8FXPRi_E%`#GF9P z1;pGy%mc){K+Ffk{6H+Q{o8gyPA|o}pzECv^fcL*$8z|6jN^HH=;ivj|HaGPo=67H KYHI(HX%7I^Ur{Ll delta 175 zcmZ3`;<2E`W5Nc769UKfsY*4kex1%xH)qGc8AnUy*A#4?n^$Z)si&nwSaEWpQb4l; zW4i()2r~gOGZ3?ES72m~-paUWd(AdhO-9Cr)0b^$^=Dkv{%t!e5VHX>I}mdKF((jn z0Wmia^8hg~5c2^sKM)IS|F&I_(@U{FZ_>(di&GZ7oqO(); shade->toJSON(sobj); serializeJson(sdoc, g_content); @@ -1299,7 +1299,7 @@ void Web::begin() { } if (shade) { //Serial.println("Serializing shade"); - DynamicJsonDocument doc(256); + DynamicJsonDocument doc(1024); JsonObject obj = doc.to(); shade->toJSON(obj); serializeJson(doc, g_content);