Skip to content

Commit ca08316

Browse files
committed
show board profile on boot
1 parent ed17739 commit ca08316

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/WebSettingsService.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,13 @@ StateUpdateResult WebSettings::update(JsonObject & root, WebSettings & settings)
7575
uint8_t default_tx_gpio = data[3];
7676
uint8_t default_pbutton_gpio = data[4];
7777

78+
EMSESP::logger().info(F("EMS-ESP version %s"), EMSESP_APP_VERSION);
79+
7880
// check to see if we have a settings file, if not it's a fresh install
7981
if (!root.size()) {
8082
EMSESP::logger().info(F("Initializing configuration with board profile %s"), settings.board_profile.c_str());
83+
} else {
84+
EMSESP::logger().info(F("Using configuration from board profile %s"), settings.board_profile.c_str());
8185
}
8286

8387
int prev;

0 commit comments

Comments
 (0)