解决长按抖动卡死的bug

pull/18/head
Meco Man 5 years ago
parent b7bec347ad
commit c4cb1e10a2

@ -129,6 +129,8 @@ void button_handler(struct Button* handle)
} else {
handle->state = 0;
}
} else if(handle->ticks > LONG_TICKS) {
handle->state = 5;
}
break;

Loading…
Cancel
Save