Divinglog import: in deco?

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2015-07-12 23:16:52 +05:30 committed by Dirk Hohndel
parent 90f7a6930a
commit 495aab8f20

View file

@ -2877,6 +2877,7 @@ extern int divinglog_profile(void *handle, int columns, char **data, char **colu
sample_start();
cur_sample->time.seconds = sinterval * i;
cur_sample->in_deco = ptr[5] - '0' ? true : false;
ptr[5] = 0;
cur_sample->depth.mm = atoi(ptr) * 10;