Explorar o código

fixed bug that cleaning is not executed immediately

Sebastian %!s(int64=7) %!d(string=hai) anos
pai
achega
cc9812c416
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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();