Parcourir la source

case 3 handle->state由5 改为0

Meco Jianting Man il y a 4 ans
Parent
commit
0175c3b26e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      multi_button.c

+ 1 - 1
multi_button.c

@@ -171,7 +171,7 @@ void button_handler(struct button* handle)
         }
         else if(handle->ticks > LONG_TICKS)
         {
-            handle->state = 5;
+            handle->state = 0;
         }
         break;