Mercurial > public > ostc4
diff Discovery/Inc/logbook.h @ 487:0f5080f50ba7
Merged in Ideenmodellierer/ostc4/FixLayout_Header_LogView (pull request #46)
FixLayout Header LogView
author | heinrichsweikamp <bitbucket@heinrichsweikamp.com> |
---|---|
date | Tue, 26 May 2020 19:27:07 +0000 |
parents | 3db9eba89e3c |
children | b33a8c1c72e5 |
line wrap: on
line diff
--- a/Discovery/Inc/logbook.h Tue May 19 07:27:18 2020 +0000 +++ b/Discovery/Inc/logbook.h Tue May 26 19:27:07 2020 +0000 @@ -75,7 +75,6 @@ uint8_t gfAtBeginning; uint8_t gfAtEnd; uint16_t personalDiveCount; - uint8_t batteryCharge; SSetpointLog setpoint[NUM_GAS]; uint16_t maxCNS; uint16_t averageDepth_mbar; @@ -94,7 +93,8 @@ uint8_t diveMode; uint8_t hwHudLastStatus; /* from here on identical to OSTC3 again */ uint16_t hwHudBattery_mV; - uint8_t batteryGaugeRegisters[6]; + uint8_t batteryGaugeRegisters[5]; /* former batteryGaugeRegisters (6 Bytes) which were not used => use as reserve to keep memory layout */ + uint8_t batteryCharge; /* first reuse byte */ uint16_t diveHeaderEnd; } SLogbookHeader;