소스 검색

Update multi_button.c

Meco Jianting Man 5 년 전
부모
커밋
dec0802e82
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      multi_button.c

+ 1 - 1
multi_button.c

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