Mercurial > public > ostc4
comparison ostc4pack/src/checksum_final_add_fletcher.cpp @ 557:2702bfa7b177
Stabilityfix: Do not trust lastDiveLogID == 0 at startup:
If dive settings are reset for some reason also the lastDiveLogID is set to 0. Most likly the consostency check will find a valid entry. But this entry might not be the last one => return an error value to trigger the find function. Calling "find" at every startup is normal behavior if TRUST_LOG_CONSISTENCY is not set and was default for a long time => low risk
In addition a check of the header adresses has been added to identify a potential error while writing log samples
author | Ideenmodellierer |
---|---|
date | Thu, 12 Nov 2020 20:03:00 +0100 |
parents | 1e707b34667e |
children | 01f40cb1057e |
comparison
equal
deleted
inserted
replaced
556:eb2060caca7d | 557:2702bfa7b177 |
---|