Mercurial > public > ostc4
diff Discovery/Inc/logbook_miniLive.h @ 620:bf574fb3efa0
Added minilog functions to allow marker synchronisation:
To keep the live data in the background a second buffer had to be added which stored the live data modified to match a specific marker. To archive this stretching and compression functions have been added.
In addition a type has been solved "life"=>"live"
author | Ideenmodellierer |
---|---|
date | Wed, 27 Jan 2021 22:12:44 +0100 |
parents | ae7f8333c900 |
children |
line wrap: on
line diff
--- a/Discovery/Inc/logbook_miniLive.h Wed Jan 27 22:10:11 2021 +0100 +++ b/Discovery/Inc/logbook_miniLive.h Wed Jan 27 22:12:44 2021 +0100 @@ -43,5 +43,7 @@ uint8_t getReplayInfo(uint16_t** pReplayData, uint8_t** pReplayMarker, uint16_t* DataLength, uint16_t* MaxDepth, uint16_t* diveMinutes); uint16_t getReplayDataResolution(void); uint16_t getReplayOffset(void); +uint16_t MiniLiveLogbook_getNextMarkerIndex(uint16_t curIndex); +void MiniLiveLogbook_checkMarker(void); #endif /* LOGBOOK_MINI_LIVE_H */