Mercurial > public > ostc4
comparison Discovery/Inc/logbook.h @ 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 | 6d8ae8fbccf5 |
| children | b0d3e8b84966 |
comparison
equal
deleted
inserted
replaced
| 1013:fa1af49319e5 | 1014:8c0134a287da |
|---|---|
| 219 | 219 |
| 220 uint16_t logbook_lastDive_diveNumber(void); | 220 uint16_t logbook_lastDive_diveNumber(void); |
| 221 uint16_t logbook_fillDummySampleBuffer(SLogbookHeader* pHeader); | 221 uint16_t logbook_fillDummySampleBuffer(SLogbookHeader* pHeader); |
| 222 void logbook_readDummySamples(uint8_t* pTarget, uint16_t length); | 222 void logbook_readDummySamples(uint8_t* pTarget, uint16_t length); |
| 223 | 223 |
| 224 void logScrubberState(const SScrubberData *scrubberData); | |
| 225 | |
| 224 #endif /* LOGBOOK_H */ | 226 #endif /* LOGBOOK_H */ |
