view ostc4pack/step0_copy_release.bat @ 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 fd47e5631b9d
children
line wrap: on
line source

copy ..\..\OSTC4_Firmware\Release\OSTC4_Firmware.bin OSTC4_Firmware.bin /V /Y
copy ..\..\OSTC4_RTE\Release\OSTC4_RTE.bin OSTC4_RTE.bin /V /Y