summaryrefslogtreecommitdiffstats
path: root/subsurface-mobile-main.cpp
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2020-09-19 13:25:47 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-09-19 11:20:27 -0700
commitdb6acfdd27dbf0b20e83422970d3788ea87ae8d7 (patch)
treec652273209ef0d245ee30fdc5ce4d8d5420325d4 /subsurface-mobile-main.cpp
parent75be59c76dedfd540809d36bdc341032c10492d2 (diff)
downloadsubsurface-db6acfdd27dbf0b20e83422970d3788ea87ae8d7.tar.gz
Update Shearwater sample time calculation
At least Shearwater Cloud seems to use multiple formats for sample time recorded in the database. Sometimes the time is in seconds, sometimes in milliseconds, and sometime it is something I have no idea about. Thus switching to calculating the sample id myself and using sample interval to calculate the actual sample time. Seems to be more reliable than trying to guess what format Shearwater is using for this specific dive. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'subsurface-mobile-main.cpp')
0 files changed, 0 insertions, 0 deletions