gpio exclusion, add name

This commit is contained in:
proddy
2026-01-04 11:44:28 +01:00
parent 4afe041880
commit 68ebcdded4
5 changed files with 47 additions and 42 deletions

View File

@@ -97,7 +97,7 @@ void WebLogService::show(Shell & shell) {
}
shell.println();
shell.printfln("Recent Log (level %s, max %d messages):", uuid::log::format_level_uppercase(level_), maximum_log_messages_);
shell.printfln("Recent Log:");
shell.println();
for (const auto & message : log_messages_) {

View File

@@ -116,7 +116,8 @@ StateUpdateResult WebSettings::update(JsonObject root, WebSettings & settings) {
// see if the user has changed the board profile
// this will set: led_gpio, dallas_gpio, rx_gpio, tx_gpio, pbutton_gpio, phy_type, eth_power, eth_phy_addr, eth_clock_mode, led_type
// this will always run when EMS-ESP starts since original_settings{} is empty
if (original_settings.board_profile != settings.board_profile) {
if (original_settings.board_profile != settings.board_profile || original_settings.board_profile == "default"
|| original_settings.board_profile.length() == 0) {
set_board_profile(settings);
add_flags(ChangeFlags::RESTART);
}