Mercurial > public > ostc4
comparison Small_CPU/Src/batteryCharger.c @ 682:8775d3dc6325 Betatest
Bugfix low ppO2 warning in bailout mode:
the code has different sources for divesettings (real and simulated). The ppo2 calculation code used the pointer to the real structure. As result in simulation mode an error occured caused by the ppo2 calculation which was not aware that a bailout happened (because the real structure was references instead of the simulator ones). The problem has been fixed by using the "stateUsed" pointer which is refering to the structure currenty in use.
author | Ideenmodellierer |
---|---|
date | Mon, 25 Apr 2022 21:15:01 +0200 |
parents | 079bb5b22c06 |
children | b1e24513b83e |
comparison
equal
deleted
inserted
replaced
681:7fa5ef6ae419 | 682:8775d3dc6325 |
---|