I don't know if it work properly

Dependents:   2022_NHK_B_UK 2022_NHK_B_sub2

Files at this revision

API Documentation at this revision

Comitter:
ikarashikota
Date:
Thu Oct 13 07:27:46 2022 +0000
Parent:
10:10c255272359
Commit message:
fixed bug 2

Changed in this revision

SEKIkikou.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 10c255272359 -r 9164aa147df1 SEKIkikou.cpp
--- a/SEKIkikou.cpp	Thu Oct 13 07:23:43 2022 +0000
+++ b/SEKIkikou.cpp	Thu Oct 13 07:27:46 2022 +0000
@@ -96,7 +96,7 @@
         mspeed[2] = 0;   
     }
     
-    if((*button[3] <= 0 && !liftFlag) || button[3] == NULL){
+    if((buff[0] <= 0 && !liftFlag) || button[3] == NULL){
         mspeed[2] = 0;
         return;   
     }