Fix return non-zero value in main
This commit is contained in:
@@ -42,9 +42,10 @@ int main(void) {
|
|||||||
//espSend(VASE_NUM, result)
|
//espSend(VASE_NUM, result)
|
||||||
}
|
}
|
||||||
// if(espGet("ask if i need to water plants") == true) {waterPlant()}
|
// if(espGet("ask if i need to water plants") == true) {waterPlant()}
|
||||||
|
// or maybe it's better to do this with interrupts?
|
||||||
|
|
||||||
readSensors = false;
|
readSensors = false;
|
||||||
enterSleep();
|
enterSleep();
|
||||||
}
|
}
|
||||||
return 0;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user