fixed the button events
authorJohn Tsiombikas <nuclear@mutantstargoat.com>
Tue, 18 Oct 2016 08:38:45 +0000 (11:38 +0300)
committerJohn Tsiombikas <nuclear@mutantstargoat.com>
Tue, 18 Oct 2016 08:38:45 +0000 (11:38 +0300)
src/dev_smag.c

index 5d0e6cd..3433b13 100644 (file)
@@ -189,6 +189,7 @@ static int proc_packets(void)
                                        ++count;
                                }
                                st >>= 1;
+                               delta >>= 1;
                        }
                        break;
                }