diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-01-28 22:00:19 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-01-28 22:00:19 -0800 |
commit | da62919ae143d2b9dcaa9b1bc093a8c48ff647f7 (patch) | |
tree | d88ebce62ee9b299f8dcbe4035e08a2c100275a9 /profile.c | |
parent | 974ac84cbe47a8a4f238df18a5fca5835b1732f3 (diff) | |
download | subsurface-da62919ae143d2b9dcaa9b1bc093a8c48ff647f7.tar.gz |
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 <subsurface@henrik.synth.no>
Analyzed-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile.c')
-rw-r--r-- | profile.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; } } |