Mercurial > public > ostc4
diff Discovery/Src/tMenuCvOption.c @ 1014:8c0134a287da GasConsumption
Add a log data event to the scrubber timer at the start of the dive and every time the timer (in minutes)
is decremented. The event contains a 12 bit signed integer for the remaining scrubber duration, and two
flags for scrubber warning (0x2000, <= 30 minutes remaining) and scrubber error (0x4000, <= 0 minutes remaining).
(mikeller)
| author | heinrichsweikamp |
|---|---|
| date | Sun, 11 May 2025 16:18:20 +0200 |
| parents | 21142f4fa968 |
| children | 33b91584d827 |
line wrap: on
line diff
--- a/Discovery/Src/tMenuCvOption.c Sat May 10 21:27:06 2025 +0200 +++ b/Discovery/Src/tMenuCvOption.c Sun May 11 16:18:20 2025 +0200 @@ -67,7 +67,6 @@ { text[textPointer++] = '\031'; /* change text color */ textPointer += snprintf(&text[textPointer], 21, "%c%c\t%u:%02u \016\016[m:ss]\017", TXT_2BYTE, TXT2BYTE_Timer, data->timerDurationS / 60, data->timerDurationS % 60); - disableLine(StMOption_Timer); text[textPointer++] = '\020'; /* restore text color */ } else
