Rev 728 | Rev 766 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 728 | Rev 753 | ||
---|---|---|---|
Line 23... | Line 23... | ||
23 | #include "osd_helpers.h" |
23 | #include "osd_helpers.h" |
24 | #include "osd_ncmode_default.h" |
24 | #include "osd_ncmode_default.h" |
Line 25... | Line 25... | ||
25 | 25 | ||
Line 26... | Line 26... | ||
26 | #if !(ALLCHARSDEBUG|(WRITECHARS != -1)) |
26 | #if !(ALLCHARSDEBUG|(WRITECHARS != -1)) |
- | 27 | ||
27 | 28 | int osd_ncmode_minimal() { |
|
28 | int osd_ncmode_minimal() { |
29 | |
29 | if (COSD_FLAGS_MODES & COSD_FLAG_HUD) { |
30 | if (COSD_FLAGS_MODES & COSD_FLAG_HUD) { |
30 | // write icons at init or after menu/mode-switch |
31 | // write icons at init or after menu/mode-switch |
31 | if (!(COSD_FLAGS_RUNTIME & COSD_ICONS_WRITTEN)) { |
32 | if (!(COSD_FLAGS_RUNTIME & COSD_ICONS_WRITTEN)) { |
Line 158... | Line 159... | ||
158 | if (naviData.FlyingTime > max_FlyingTime) max_FlyingTime = naviData.FlyingTime; |
159 | if (naviData.FlyingTime > max_FlyingTime) max_FlyingTime = naviData.FlyingTime; |
159 | if (ampere > max_ampere) max_ampere = ampere; |
160 | if (ampere > max_ampere) max_ampere = ampere; |
160 | } |
161 | } |
Line 161... | Line 162... | ||
161 | 162 | ||
162 | // remember last values |
- | |
163 | last_RC_Quality = naviData.RC_Quality; |
163 | // remember last values |
164 | last_UBat = naviData.UBat; |
164 | last_UBat = naviData.UBat; |
165 | old_MKFlags = naviData.FCFlags; |
165 | old_MKFlags = naviData.FCFlags; |
Line 166... | Line 166... | ||
166 | seconds_since_last_data = 0; |
166 | seconds_since_last_data = 0; |