From da62919ae143d2b9dcaa9b1bc093a8c48ff647f7 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 28 Jan 2013 22:00:19 -0800 Subject: [PATCH] Stop filtering out events with beginning or end flags This made sense briefly when libdivecomputer reported ceiling data through events with those flags, but it actually made us hide valid events from some divecomputers that give us only very limited information (e.g., deco events from some Suunto divecomputers). Reported-by: Henrik Brautaset Aronsen Analyzed-by: Linus Torvalds Signed-off-by: Dirk Hohndel --- profile.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/profile.c b/profile.c index 21fa59857..7ac2ac040 100644 --- a/profile.c +++ b/profile.c @@ -419,8 +419,7 @@ static void plot_events(struct graphics_context *gc, struct plot_info *pi, struc return; while (event) { - if (event->flags != SAMPLE_FLAGS_BEGIN && event->flags != SAMPLE_FLAGS_END) - plot_one_event(gc, pi, event, &tro); + plot_one_event(gc, pi, event, &tro); event = event->next; } }