Mercurial > public > ostc4
diff Discovery/Src/t7.c @ 582:64bf41faab83
Show Fallback if no valid sensor value is available:
In previous version fallback was shown when communication to HUD was lost. Now it will be displayed in case no sensor value ist judged as valid. In case of a fallback event ppo2 warnings as well as the data readings are no longer displayed.
author | Ideenmodellierer |
---|---|
date | Sat, 12 Dec 2020 20:52:58 +0100 |
parents | 9bb9a52d6ae5 |
children | f52bc70e380f |
line wrap: on
line diff
--- a/Discovery/Src/t7.c Sat Dec 12 19:18:57 2020 +0100 +++ b/Discovery/Src/t7.c Sat Dec 12 20:52:58 2020 +0100 @@ -1594,7 +1594,7 @@ } if (((view == CVIEW_sensors) || (view == CVIEW_sensors_mV)) && - ((stateUsed->diveSettings.ppo2sensors_deactivated == 0x07) || (stateUsed->diveSettings.ccrOption == 0))) + ((stateUsed->diveSettings.ppo2sensors_deactivated == 0x07) || (stateUsed->diveSettings.ccrOption == 0) || (stateUsed->warnings.fallback))) { cv_disabled = 1; } @@ -1708,6 +1708,7 @@ { t7_change_customview(ACTION_BUTTON_ENTER); } + last_customview = selection_customview; } switch(selection_customview) {