mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
fix possible crash
This commit is contained in:
@@ -116,7 +116,7 @@ StateUpdateResult WebSettings::update(JsonObject root, WebSettings & settings) {
|
||||
String nvs_boot = EMSESP::nvs_.getString("boot");
|
||||
if (!nvs_boot.isEmpty()) {
|
||||
#if defined(EMSESP_DEBUG)
|
||||
EMSESP::logger().debug("Overriding board profile with NVS boot value %s");
|
||||
EMSESP::logger().debug("Overriding board profile with NVS boot value %s", nvs_boot.c_str());
|
||||
#endif
|
||||
settings.board_profile = nvs_boot;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user