We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
第133行是不是想写成 handle->state = 1;
handle->state = 1;
The text was updated successfully, but these errors were encountered:
确实存在该问题,修改为如下代码可解决:
case 3: if(handle->button_level != handle->active_level) { //released press up handle->event = (uint8_t)PRESS_UP; EVENT_CB(PRESS_UP); if(handle->ticks < SHORT_TICKS) { handle->ticks = 0; handle->state = 2; //repeat press } else { handle->state = 0; } } else if(handle->ticks > SHORT_TICKS) { // long press up handle->state = 1; // 0修改为1 } break;
Sorry, something went wrong.
No branches or pull requests
第133行是不是想写成
handle->state = 1;
The text was updated successfully, but these errors were encountered: