view Current build/readme.txt @ 304:43b44f8d4fb0 cleanup-4

bugfix, simulator: fix the 1 sec difference between stopwatch and divetime This is a rather subtle bugfix. counterSecondsShallowDepth is used to decide to increase dive_time_seconds_without_surface_time. But just after using it, logic is present to reset counterSecondsShallowDepth. So, basically, we are looking to an old state. Simply increase dive_time_seconds_without_surface_time *after* we have reset counterSecondsShallowDepth, so that we are looking to a current state instead of an old one. Notice that this is simulator only. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author Jan Mulder <jlmulder@xs4all.nl>
date Mon, 20 May 2019 13:06:02 +0200
parents d5891007fc4c
children dff26bf4b542
line wrap: on
line source

Heinrichs Weikamp OSTC4 update files.

The builds are for testing purposes only. Be careful, they might not work and are definitely not recommended for real dives.