mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Duration is in seconds
The dive duration is given in seconds in the Shearwater cloud database. (At least nowadays.) Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
parent
0aaa654433
commit
1a646a2e5c
1 changed files with 1 additions and 1 deletions
|
@ -394,7 +394,7 @@ static int shearwater_cloud_dive(void *param, int columns, char **data, char **c
|
|||
state->cur_dive->dc.maxdepth.mm = state->metric ? lrint(strtod_flags(data[6], NULL, 0) * 1000) : feet_to_mm(strtod_flags(data[6], NULL, 0));
|
||||
|
||||
if (data[7])
|
||||
state->cur_dive->dc.duration.seconds = atoi(data[7]) * 60;
|
||||
state->cur_dive->dc.duration.seconds = atoi(data[7]);
|
||||
|
||||
if (data[8])
|
||||
state->cur_dive->dc.surface_pressure.mbar = atoi(data[8]);
|
||||
|
|
Loading…
Reference in a new issue