Merge pull request #2921 from MichaelDvP/dev

set gpios when switching to custom board
This commit is contained in:
Proddy
2026-01-11 19:00:24 +01:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -502,7 +502,7 @@ const ApplicationSettings = () => {
) : (
boardProfileItems
)}
<Divider />
{(data.board_profile === 'CUSTOM' || data.developer_mode) && <Divider />}
{(data.board_profile === 'CUSTOM' || data.developer_mode) && (
<MenuItem key={'CUSTOM'} value={'CUSTOM'}>
{LL.CUSTOM()}&hellip;

View File

@@ -436,6 +436,7 @@ void WebSettings::set_board_profile(WebSettings & settings) {
// as it's already set
if (settings.board_profile == "CUSTOM") {
EMSESP::logger().info("Using CUSTOM board profile");
EMSESP::system_.set_valid_system_gpios();
return;
}