works so far
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user