Mercurial > public > ostc4
diff Discovery/Inc/logbook.h @ 610:ae7f8333c900
Added access to logbook marker data:
In previous version event data could only be stored in memory but read back and usage in the OSTC itself was not supported. After the events like a marker set by the diver may be retrieved from the log.
Added visualization of markers to T3_Profile view
author | Ideenmodellierer |
---|---|
date | Thu, 14 Jan 2021 20:38:28 +0100 |
parents | b33a8c1c72e5 |
children |
line wrap: on
line diff
--- a/Discovery/Inc/logbook.h Thu Jan 14 19:17:28 2021 +0100 +++ b/Discovery/Inc/logbook.h Thu Jan 14 20:38:28 2021 +0100 @@ -212,7 +212,7 @@ uint8_t logbook_getHeader(uint8_t StepBackwards,SLogbookHeader* pLogbookHeader); uint16_t logbook_readSampleData(uint8_t StepBackwards, uint16_t length,uint16_t* depth, uint8_t* gasid, int16_t* temperature, uint16_t* ppo2, uint16_t* setpoint, uint16_t* sensor1, uint16_t* sensor2, uint16_t* sensor3, uint16_t* cns, uint8_t* bailout, - uint16_t* decostopDepth, uint16_t* tank); + uint16_t* decostopDepth, uint16_t* tank, uint8_t* event); void logbook_test(void); void logbook_InitAndWrite(const SDiveState* pStateReal); void logbook_recover_brokenlog(uint8_t headerId);