Minh Nguyen / Pushbutton
Revision:
2:6ade0fbab4e1
Parent:
1:e47e80a32fb5
Child:
3:03c78d8b7dfc
--- a/Pushbutton.cpp	Sun Feb 28 03:26:11 2021 +0000
+++ b/Pushbutton.cpp	Thu Mar 11 23:22:16 2021 +0000
@@ -60,11 +60,15 @@
                     *mode = OP_MANUAL2;
                     return;
                 }
-                else if(*mode == OP_MANUAL2 || *mode == OP_WSETTING)
+                else if(*mode == OP_MANUAL2 || *mode == OP_WSETTING ||| *mode == OP_PLACEMENT)
                 {
                     *mode = OP_NORMAL;
                     return;
                 }
+                else{
+                    *mode = OP_PLACEMENT;
+                    return;
+                }
                 t.stop();
                 return;
             }