Mercurial > public > ostc4
comparison Common/Inc/data_central.h @ 225:2bb1db22b5f5 div-fixes-3
cleanup: random set of cleanups
A random set of cleanups, as found during code reading, and looking
around fixing issues. Contains all kinds of things: typo's in comment,
typo in variable name, removal of unused code, making things static
where possible. Does not contain any functional changes.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author | Jan Mulder <jlmulder@xs4all.nl> |
---|---|
date | Mon, 01 Apr 2019 15:50:41 +0200 |
parents | cc9c18075e00 |
children | 3949781096d4 |
comparison
equal
deleted
inserted
replaced
224:ceecabfddb57 | 225:2bb1db22b5f5 |
---|---|
389 typedef union{ | 389 typedef union{ |
390 ubit8_t ub; | 390 ubit8_t ub; |
391 uint8_t uw; | 391 uint8_t uw; |
392 } bit8_Type; | 392 } bit8_Type; |
393 | 393 |
394 //extern SDiveState stateReal; only via const SDiveState stateRealGetPointer(void); | |
395 extern SDiveState stateSim; | 394 extern SDiveState stateSim; |
396 extern SDiveState stateDeco; | 395 extern SDiveState stateDeco; |
397 extern uint8_t decoLock; | 396 extern uint8_t decoLock; |
398 extern const SDiveState * stateUsed; | 397 extern const SDiveState * stateUsed; |
399 extern SLifeData2 secondaryInformation; | |
400 | 398 |
401 | 399 |
402 enum DECO_LOCK{ | 400 enum DECO_LOCK{ |
403 DECO_CALC_running, | 401 DECO_CALC_running, |
404 DECO_CALC_ready, | 402 DECO_CALC_ready, |