Mercurial > public > ostc4
comparison Discovery/Inc/logbook.h @ 194:f23b9055436f div-fixes-cleanup-1
cleanup: more trivial cleanup (logbook.c/h)
Kick out unused code, commented code. Corrected some comments, and
most relevant: make things static where we can.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author | Jan Mulder <jlmulder@xs4all.nl> |
---|---|
date | Tue, 19 Mar 2019 11:42:00 +0100 |
parents | 5f11787b4f42 |
children | 6e78137952af |
comparison
equal
deleted
inserted
replaced
193:255326edf00b | 194:f23b9055436f |
---|---|
198 int8_t percentageO2; | 198 int8_t percentageO2; |
199 int8_t percentageHe; | 199 int8_t percentageHe; |
200 } SManualGas; | 200 } SManualGas; |
201 | 201 |
202 void logbook_writeSample(SDiveState state); | 202 void logbook_writeSample(SDiveState state); |
203 //void logbook_writeSampleFinalBytes(void); | |
204 void logbook_initNewdiveProfile(const SDiveState* pInfo, SSettings* pSettings); | 203 void logbook_initNewdiveProfile(const SDiveState* pInfo, SSettings* pSettings); |
205 void logbook_EndDive(void); | 204 void logbook_EndDive(void); |
206 | 205 |
207 SLogbookHeader* logbook_getCurrentHeader(void); | 206 SLogbookHeader* logbook_getCurrentHeader(void); |
208 SLogbookHeaderOSTC3 * logbook_build_ostc3header(SLogbookHeader* pLogbookHeader); | 207 SLogbookHeaderOSTC3 * logbook_build_ostc3header(SLogbookHeader* pLogbookHeader); |