works so far

This commit is contained in:
Wolfgang Hottgenroth
2016-09-08 22:51:15 +02:00
parent 737eb6595a
commit f22b300c01
6 changed files with 20 additions and 11 deletions

View File

@ -21,6 +21,14 @@ uint8_t restCookingTime;
bool timerRunning;
bool timerStarted;
void eggTimerStart(void *handleArg) {
if (! timerStarted) {
timerRunning = true;
timerStarted = true;
}
}
void eggTimerInit(void *handleArg) {
restCookingTime = COOKING_TIME;
timerRunning = false;
@ -39,11 +47,5 @@ void eggTimerExec(void *handleArg) {
}
}
void eggTimerStart(void *handleArg) {
if (! timerStarted) {
timerRunning = true;
timerStarted = true;
}
}