Rename function

This commit is contained in:
2025-05-16 09:22:34 +02:00
parent 64852b2a67
commit ba10840f50
4 changed files with 6 additions and 5 deletions
+3 -2
View File
@@ -8,7 +8,7 @@
#include "pump.h"
ISR(WDT_vect) {
triggerRead();
triggerMoistureRead();
}
void watchdogs(void) {
@@ -29,7 +29,7 @@ void enterSleep(void) {
void setup(void) {
adcInit();
sensorsInit();
//pumpsInit();
pumpsInit();
watchdogs();
}
@@ -41,6 +41,7 @@ int main(void) {
int16_t result = moistureRead();
//espSend(VASE_NUM, result)
}
triggerPump(PUMP_D7, 50);
// if(espGet("ask if i need to water plants") == true) {waterPlant()}
enterSleep();
}
+1 -1
View File
@@ -29,7 +29,7 @@ void sensorsInit(void) {
//(1 << MOISTURE_SENSOR_A7));
}
void triggerRead(void) {
void triggerMoistureRead(void) {
readSensors = true;
}