check for fresh install

This commit is contained in:
Proddy
2022-12-25 13:21:21 +01:00
parent 84589a4b40
commit 8000497302
3 changed files with 100 additions and 46 deletions

View File

@@ -74,7 +74,7 @@ class System {
void reload_settings();
void wifi_tweak();
void syslog_init();
bool check_upgrade();
bool check_upgrade(bool factory_settings);
bool check_restore();
bool heartbeat_json(JsonObject & output);
void send_heartbeat();
@@ -273,7 +273,7 @@ class System {
// EMS-ESP settings
// copies from WebSettings class in WebSettingsService.h and loaded with reload_settings()
std::string hostname_ = FACTORY_WIFI_HOSTNAME;
std::string hostname_;
String locale_;
bool hide_led_;
uint8_t led_gpio_;