diff options
-rw-r--r-- | core/parse-xml.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/parse-xml.c b/core/parse-xml.c index 1fbf7f37e..97cd71d5c 100644 --- a/core/parse-xml.c +++ b/core/parse-xml.c @@ -3628,6 +3628,10 @@ int parse_dlf_buffer(unsigned char *buffer, size_t size) case 3: /* diver error */ case 4: /* internal error */ case 5: /* device activity log */ + //Event 18 is a button press. Lets ingore that event. + if (ptr[4] == 18) + continue; + event_start(); cur_event.time.seconds = time; switch (ptr[4]) { |