Skip to content

Commit

Permalink
fix gh build
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDvP committed Nov 1, 2023
1 parent 0838d06 commit c934b9e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion src/web/WebSettingsService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c934b9e

Please sign in to comment.