Skip to content

Commit b6d01bf

Browse files
committed
Restart esp after saving settings
1 parent 6ddfcee commit b6d01bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#ifndef VERSION_H
22
#define VERSION_H
33

4-
#define LORADV_VERSION "1.0.23"
4+
#define LORADV_VERSION "1.0.24"
55

66
#endif // VERSION_H

src/settings_menu.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ class SettingsSaveItem : public SettingsItem {
427427
void changeValue(int delta) { }
428428
void getName(std::stringstream &s) const { s << index_ << ".Save Settings"; }
429429
void getValue(std::stringstream &s) const { s << "Click to save"; }
430-
void select() { config_->Save(); }
430+
void select() { config_->Save(); ESP.restart(); }
431431
};
432432

433433
class SettingsResetItem : public SettingsItem {

0 commit comments

Comments
 (0)