Просмотр исходного кода

Remove duplicate code fragment (#16)

Fabio De Simone 1 год назад
Родитель
Сommit
1d18427f18
1 измененных файлов с 0 добавлено и 15 удалено
  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)
         {