Mercurial > public > ostc4
comparison 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 |
comparison
equal
deleted
inserted
replaced
619:8fa2de4414a8 | 620:bf574fb3efa0 |
---|---|
41 uint16_t getMiniLiveReplayLength(void); | 41 uint16_t getMiniLiveReplayLength(void); |
42 uint8_t prepareReplayLog(uint8_t StepBackwards); | 42 uint8_t prepareReplayLog(uint8_t StepBackwards); |
43 uint8_t getReplayInfo(uint16_t** pReplayData, uint8_t** pReplayMarker, uint16_t* DataLength, uint16_t* MaxDepth, uint16_t* diveMinutes); | 43 uint8_t getReplayInfo(uint16_t** pReplayData, uint8_t** pReplayMarker, uint16_t* DataLength, uint16_t* MaxDepth, uint16_t* diveMinutes); |
44 uint16_t getReplayDataResolution(void); | 44 uint16_t getReplayDataResolution(void); |
45 uint16_t getReplayOffset(void); | 45 uint16_t getReplayOffset(void); |
46 uint16_t MiniLiveLogbook_getNextMarkerIndex(uint16_t curIndex); | |
47 void MiniLiveLogbook_checkMarker(void); | |
46 | 48 |
47 #endif /* LOGBOOK_MINI_LIVE_H */ | 49 #endif /* LOGBOOK_MINI_LIVE_H */ |