comparison Small_CPU/Src/batteryGasGauge.c @ 331:b4c578caaafb I2C_Improvment

Added plausibility check for pressure values In case of I2C communication problems at startup the dc jumped into dive mode with depth up to 300m. As no CRC is applied a bit flip may also occure during normal operation without detection => added a plausibility check if last measured value fits to the last measurements
author ideenmodellierer
date Wed, 17 Jul 2019 22:43:51 +0200
parents 2defc8cd93ce
children 2fc08a0d1ec3
comparison
equal deleted inserted replaced
330:2defc8cd93ce 331:b4c578caaafb