Divinglog import: deco stop ignored event added

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:55 +05:30 committed by Dirk Hohndel
parent 0011d43711
commit 5bc4f974c5

View file

@ -2901,6 +2901,14 @@ extern int divinglog_profile(void *handle, int columns, char **data, char **colu
strcpy(cur_event.name, "ascent");
event_end();
}
/* Deco stop ignored */
if (ptr[8] - '0') {
event_start();
cur_event.time.seconds = sinterval * i;
strcpy(cur_event.name, "violation");
event_end();
}
ptr += 12;
}