mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-25 20:26:41 +00:00
Fix wt32-sc01_4MB flash size
This commit is contained in:
parent
16c900d5e4
commit
aa1f4e7642
@ -331,7 +331,7 @@ void saveConfig()
|
|||||||
haspSetConfig(settings.as<JsonObject>());
|
haspSetConfig(settings.as<JsonObject>());
|
||||||
|
|
||||||
#if HASP_USE_MQTT > 0
|
#if HASP_USE_MQTT > 0
|
||||||
} else if(save == String(PSTR("mqtt"))) {
|
} else if(save == String(PSTR(FP_MQTT))) {
|
||||||
mqttSetConfig(settings.as<JsonObject>());
|
mqttSetConfig(settings.as<JsonObject>());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -343,7 +343,7 @@ void saveConfig()
|
|||||||
} else if(save == String(PSTR("debug"))) {
|
} else if(save == String(PSTR("debug"))) {
|
||||||
debugSetConfig(settings.as<JsonObject>());
|
debugSetConfig(settings.as<JsonObject>());
|
||||||
|
|
||||||
} else if(save == String(PSTR("http"))) {
|
} else if(save == String(PSTR(FP_HTTP))) {
|
||||||
httpSetConfig(settings.as<JsonObject>());
|
httpSetConfig(settings.as<JsonObject>());
|
||||||
|
|
||||||
// Password might have changed
|
// Password might have changed
|
||||||
|
@ -45,7 +45,7 @@ lib_deps =
|
|||||||
${ft6336.lib_deps}
|
${ft6336.lib_deps}
|
||||||
|
|
||||||
[env:wt32-sc01_4MB]
|
[env:wt32-sc01_4MB]
|
||||||
extends = wt32-sc01, flash_8mb
|
extends = wt32-sc01, flash_4mb
|
||||||
|
|
||||||
[env:wt32-sc01_16MB]
|
[env:wt32-sc01_16MB]
|
||||||
extends = wt32-sc01, flash_16mb
|
extends = wt32-sc01, flash_16mb
|
||||||
|
Loading…
x
Reference in New Issue
Block a user