no message
This commit is contained in:
parent
dcde26a2f3
commit
c47cf78c90
|
@ -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{
|
||||||
|
|
Loading…
Reference in New Issue