mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +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>());
|
||||
|
||||
#if HASP_USE_MQTT > 0
|
||||
} else if(save == String(PSTR("mqtt"))) {
|
||||
} else if(save == String(PSTR(FP_MQTT))) {
|
||||
mqttSetConfig(settings.as<JsonObject>());
|
||||
#endif
|
||||
|
||||
@ -343,7 +343,7 @@ void saveConfig()
|
||||
} else if(save == String(PSTR("debug"))) {
|
||||
debugSetConfig(settings.as<JsonObject>());
|
||||
|
||||
} else if(save == String(PSTR("http"))) {
|
||||
} else if(save == String(PSTR(FP_HTTP))) {
|
||||
httpSetConfig(settings.as<JsonObject>());
|
||||
|
||||
// Password might have changed
|
||||
|
@ -45,7 +45,7 @@ lib_deps =
|
||||
${ft6336.lib_deps}
|
||||
|
||||
[env:wt32-sc01_4MB]
|
||||
extends = wt32-sc01, flash_8mb
|
||||
extends = wt32-sc01, flash_4mb
|
||||
|
||||
[env:wt32-sc01_16MB]
|
||||
extends = wt32-sc01, flash_16mb
|
||||
|
Loading…
x
Reference in New Issue
Block a user