mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
show board profile on boot
This commit is contained in:
@@ -75,9 +75,13 @@ StateUpdateResult WebSettings::update(JsonObject & root, WebSettings & settings)
|
|||||||
uint8_t default_tx_gpio = data[3];
|
uint8_t default_tx_gpio = data[3];
|
||||||
uint8_t default_pbutton_gpio = data[4];
|
uint8_t default_pbutton_gpio = data[4];
|
||||||
|
|
||||||
|
EMSESP::logger().info(F("EMS-ESP version %s"), EMSESP_APP_VERSION);
|
||||||
|
|
||||||
// check to see if we have a settings file, if not it's a fresh install
|
// check to see if we have a settings file, if not it's a fresh install
|
||||||
if (!root.size()) {
|
if (!root.size()) {
|
||||||
EMSESP::logger().info(F("Initializing configuration with board profile %s"), settings.board_profile.c_str());
|
EMSESP::logger().info(F("Initializing configuration with board profile %s"), settings.board_profile.c_str());
|
||||||
|
} else {
|
||||||
|
EMSESP::logger().info(F("Using configuration from board profile %s"), settings.board_profile.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
int prev;
|
int prev;
|
||||||
|
|||||||
Reference in New Issue
Block a user