mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
fix gh build
This commit is contained in:
@@ -96,7 +96,6 @@ board_build.partitions = esp32_partition_16M.csv
|
||||
build_flags =
|
||||
${common.build_flags}
|
||||
-O2
|
||||
-DEMSESP_DEFAULT_BOARD_PROFILE = "S32S3"
|
||||
build_unflags = ${common.unbuild_flags}
|
||||
|
||||
[env:esp32_4M]
|
||||
|
||||
@@ -89,7 +89,7 @@ StateUpdateResult WebSettings::update(JsonObject & root, WebSettings & settings)
|
||||
std::vector<int8_t> data; // // led, dallas, rx, tx, button, phy_type, eth_power, eth_phy_addr, eth_clock_mode
|
||||
settings.board_profile = root["board_profile"] | EMSESP_DEFAULT_BOARD_PROFILE;
|
||||
if ((String)EMSESP_DEFAULT_BOARD_PROFILE != "default" && EMSESP::nvs_.getString("boot") == "") {
|
||||
EMSESP::nvs_.putString("boot", EMSESP_DEFAULT_BOARD_PROFILE);
|
||||
EMSESP::nvs_.putString("boot", (const char *)EMSESP_DEFAULT_BOARD_PROFILE);
|
||||
}
|
||||
/*
|
||||
#if CONFIG_IDF_TARGET_ESP32C3
|
||||
|
||||
Reference in New Issue
Block a user