Minh Nguyen / Pushbutton
Revision:
11:c3c72344ce95
Parent:
10:17af93056d39
--- a/Pushbutton.cpp	Wed Mar 24 23:38:53 2021 +0000
+++ b/Pushbutton.cpp	Tue Mar 30 13:34:01 2021 +0000
@@ -84,6 +84,9 @@
                     *mode = OP_OVERHEAT;
                     return;
                 }
+                else if(*mode == OP_ETHERNET){
+                    *mode = OP_ETHERNET;
+                }
                 else{
                     *mode = OP_PLACEMENT;
                     return;