fix bug #3
@@ -169,6 +169,10 @@ void button_handler(struct button* handle)
handle->state = 0;
}
+ else if(handle->ticks > SHORT_TICKS)
+ {
+ handle->state = 0;
+ }
break;
case 5: