Quellcode durchsuchen

Remove duplicate code fragment (#16)

Fabio De Simone vor 1 Jahr
Ursprung
Commit
1d18427f18
1 geänderte Dateien mit 0 neuen und 15 gelöschten Zeilen
  1. 0 15
      arduino_code/arduino_code.ino

+ 0 - 15
arduino_code/arduino_code.ino

@@ -235,21 +235,6 @@ void appMode()
             return;
         }
 
-        if (input == "HOME")
-        {
-            homing();
-            return;
-        }
-
-        if (input == "RESET_THETA")
-        {
-            resetTheta(); // Reset currentTheta
-            Serial.println("THETA_RESET"); // Notify Python
-            Serial.println("R");
-            return;
-        }
-
-
         // If not a command, assume it's a batch of theta-rho pairs
         if (!batchComplete)
         {