mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-14 05:59:51 +00:00
refactoring
This commit is contained in:
@@ -169,8 +169,7 @@ TPMSAppView::TPMSAppView(NavigationView&) {
|
|||||||
options_type.on_change = [this](size_t, int32_t i) {
|
options_type.on_change = [this](size_t, int32_t i) {
|
||||||
if (i == 0){
|
if (i == 0){
|
||||||
tpms::format::use_kpa = true;
|
tpms::format::use_kpa = true;
|
||||||
}
|
} else if (i == 1){
|
||||||
if(i == 1){
|
|
||||||
tpms::format::use_kpa = false;
|
tpms::format::use_kpa = false;
|
||||||
}
|
}
|
||||||
update_type();
|
update_type();
|
||||||
|
Reference in New Issue
Block a user