mirror of
https://github.com/torlando-tech/pyxis.git
synced 2026-08-06 18:59:52 +00:00
fix: confirm successful OTA boot before restart
This commit is contained in:
@@ -1312,6 +1312,13 @@ void SettingsScreen::set_lxmf_address(const Bytes& hash) {
|
||||
_lxmf_address = hash;
|
||||
}
|
||||
|
||||
void SettingsScreen::set_firmware_version(const String& version) {
|
||||
if (_label_firmware) {
|
||||
String text = "Firmware: " + version;
|
||||
lv_label_set_text(_label_firmware, text.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
void SettingsScreen::set_gps(TinyGPSPlus* gps) {
|
||||
_gps = gps;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user