Mercurial > public > ostc4
comparison Common/Inc/data_central.h @ 929:63c340abd70e Evo_2_23
Add a line to the compass heading dive menu that shows the currently set heading to enable the
diver to confirm it / add it to notes.
Also add a log entry every time a new compass heading is set or the heading is cleared.
And add a way to add compass headings to the log without changing the currently set heading -
this was added after discussion with cave divers who are interested in recording headings
when mapping out caves.
From mikeller
| author | heinrichsweikamp |
|---|---|
| date | Mon, 02 Dec 2024 11:16:10 +0100 |
| parents | 79c888f5d8d2 |
| children | 5a9bc2e6112d |
comparison
equal
deleted
inserted
replaced
| 928:9b7859554beb | 929:63c340abd70e |
|---|---|
| 304 int16_t info_manualGasSetHe; | 304 int16_t info_manualGasSetHe; |
| 305 int16_t info_manualGasSetO2; | 305 int16_t info_manualGasSetO2; |
| 306 int16_t bailout; | 306 int16_t bailout; |
| 307 int16_t info_bailoutHe; | 307 int16_t info_bailoutHe; |
| 308 int16_t info_bailoutO2; | 308 int16_t info_bailoutO2; |
| 309 } SEvents; | 309 int16_t compassHeadingUpdate; |
| 310 uint16_t info_compassHeadingUpdate; | |
| 311 } SEvents; | |
| 310 | 312 |
| 311 | 313 |
| 312 | 314 |
| 313 //struct SDiveSettings | 315 //struct SDiveSettings |
| 314 //contains settings necessary for deco calculation | 316 //contains settings necessary for deco calculation |
| 542 _Bool is_ambient_pressure_close_to_surface(SLifeData *lifeData); | 544 _Bool is_ambient_pressure_close_to_surface(SLifeData *lifeData); |
| 543 | 545 |
| 544 uint8_t isLoopMode(uint8_t Mode); | 546 uint8_t isLoopMode(uint8_t Mode); |
| 545 | 547 |
| 546 bool isCompassCalibrated(void); | 548 bool isCompassCalibrated(void); |
| 549 void logCompassHeading(uint16_t heading); | |
| 550 void clearCompassHeading(void); | |
| 547 void setCompassHeading(uint16_t heading); | 551 void setCompassHeading(uint16_t heading); |
| 548 | 552 |
| 549 const SDecoinfo *getDecoInfo(void); | 553 const SDecoinfo *getDecoInfo(void); |
| 550 | 554 |
| 551 void disableTimer(void); | 555 void disableTimer(void); |
