mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-03 03:20:38 +08:00
Disable webupdate capability if no ota partition in ESP32
This commit is contained in:
parent
e9b742434f
commit
7a804591c3
@ -215,7 +215,11 @@ bool Commands::ESP800(const char* cmd_params, level_authenticate_type auth_type,
|
||||
output->print(",\"WebUpdate\":\"");
|
||||
}
|
||||
#ifdef WEB_UPDATE_FEATURE
|
||||
output->print("Enabled");
|
||||
if (ESP_FileSystem::max_update_size()!=0){
|
||||
output->print("Enabled");
|
||||
} else {
|
||||
output->print("Disabled");
|
||||
}
|
||||
#else
|
||||
output->print("Disabled");
|
||||
#endif //WEB_UPDATE_FEATURE
|
||||
|
Loading…
x
Reference in New Issue
Block a user