no message

This commit is contained in:
godcreator 2024-01-29 21:19:23 +08:00
parent dcde26a2f3
commit c47cf78c90
1 changed files with 3 additions and 4 deletions

View File

@ -10,15 +10,14 @@
*/ */
static Event selectEvent(KeyFSMData *data){ // 必须重新实现 static Event selectEvent(KeyFSMData *data){ // 必须重新实现
if(data->countDelay == 10){ if(data->countDelay == 10){
return HoldCount4; return HoldCount4;
} }
else if(data->countDelay == 5){
if(data->countDelay == 5){
return DelayCount3; return DelayCount3;
} }
else if(data->in == Up){
if(data->in == Up){
return PhsicalUp; return PhsicalUp;
} }
else{ else{