mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-01-26 08:39:09 +03:00
set gpio when switching to custom board
This commit is contained in:
@@ -436,6 +436,7 @@ void WebSettings::set_board_profile(WebSettings & settings) {
|
|||||||
// as it's already set
|
// as it's already set
|
||||||
if (settings.board_profile == "CUSTOM") {
|
if (settings.board_profile == "CUSTOM") {
|
||||||
EMSESP::logger().info("Using CUSTOM board profile");
|
EMSESP::logger().info("Using CUSTOM board profile");
|
||||||
|
EMSESP::system_.set_valid_system_gpios();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user