|
@@ -418,7 +418,8 @@ void *coffeeThread(void *threadid) {
|
|
|
changeState(STATE_WAIT_OFF);
|
|
|
break;
|
|
|
|
|
|
- case SigInt1Psh:
|
|
|
+ case SigRotCCW:
|
|
|
+ case SigRotCW:
|
|
|
enterMenu();
|
|
|
break;
|
|
|
}
|
|
@@ -465,7 +466,8 @@ void *coffeeThread(void *threadid) {
|
|
|
changeState(STATE_WAIT_OFF);
|
|
|
break;
|
|
|
|
|
|
- case SigInt1Psh:
|
|
|
+ case SigRotCCW:
|
|
|
+ case SigRotCW:
|
|
|
//Enter the menu
|
|
|
enterMenu();
|
|
|
break;
|
|
@@ -509,7 +511,8 @@ void *coffeeThread(void *threadid) {
|
|
|
changeState(STATE_OFF);
|
|
|
break;
|
|
|
|
|
|
- case SigInt1Psh:
|
|
|
+ case SigRotCCW:
|
|
|
+ case SigRotCW:
|
|
|
//Enter the menu
|
|
|
enterMenu();
|
|
|
break;
|
|
@@ -552,6 +555,7 @@ void *coffeeThread(void *threadid) {
|
|
|
*
|
|
|
*/
|
|
|
case STATE_CLEANING: //this can only be executed once the machine is hot!
|
|
|
+ //TODO Show the progress of the cleaning process
|
|
|
if (!halProxSensorCovered()) {
|
|
|
//execute the cleaning procedure
|
|
|
coffeeClean();
|