Jelajahi Sumber

fixed bug that cleaning is not executed immediately

Sebastian 7 tahun lalu
induk
melakukan
cc9812c416
1 mengubah file dengan 0 tambahan dan 2 penghapusan
  1. 0 2
      CoffeeCode/coffee.cpp

+ 0 - 2
CoffeeCode/coffee.cpp

@@ -464,8 +464,6 @@ void *coffeeThread(void *threadid) {
 			 *
 			 */
 		case STATE_CLEANING: //this can only be executed once the machine is hot!
-			if (SigValueEmpty() && mode == MODE_STATE)
-				pause();
 			if (!halProxSensorCovered()) {
 				//execute the cleaning procedure
 				coffeeClean();