|
@@ -476,6 +476,7 @@ void *coffeeThread(void *threadid) {
|
|
|
|
|
|
case SigBrewOn:
|
|
case SigBrewOn:
|
|
//someone brews manually
|
|
//someone brews manually
|
|
|
|
+ coffeeManualBrewStart();
|
|
changeState(STATE_BREWMANUAL);
|
|
changeState(STATE_BREWMANUAL);
|
|
break;
|
|
break;
|
|
|
|
|
|
@@ -522,6 +523,7 @@ void *coffeeThread(void *threadid) {
|
|
|
|
|
|
case SigBrewOn:
|
|
case SigBrewOn:
|
|
//someone brews manually
|
|
//someone brews manually
|
|
|
|
+ coffeeManualBrewStart();
|
|
changeState(STATE_BREWMANUAL);
|
|
changeState(STATE_BREWMANUAL);
|
|
break;
|
|
break;
|
|
|
|
|
|
@@ -566,7 +568,6 @@ void *coffeeThread(void *threadid) {
|
|
*
|
|
*
|
|
*/
|
|
*/
|
|
case STATE_BREWMANUAL:
|
|
case STATE_BREWMANUAL:
|
|
- coffeeManualBrewStart();
|
|
|
|
if (SigValueEmpty() && mode == MODE_STATE)
|
|
if (SigValueEmpty() && mode == MODE_STATE)
|
|
pause();
|
|
pause();
|
|
switch (getSigValue(MODE_STATE)) {
|
|
switch (getSigValue(MODE_STATE)) {
|
|
@@ -585,7 +586,6 @@ void *coffeeThread(void *threadid) {
|
|
*
|
|
*
|
|
*/
|
|
*/
|
|
case STATE_CLEANING: //this can only be executed once the machine is hot!
|
|
case STATE_CLEANING: //this can only be executed once the machine is hot!
|
|
- //TODO Show the progress of the cleaning process
|
|
|
|
if (!halProxSensorCovered()) {
|
|
if (!halProxSensorCovered()) {
|
|
//execute the cleaning procedure
|
|
//execute the cleaning procedure
|
|
coffeeClean();
|
|
coffeeClean();
|