Make triggerMoistureRead function inline

This commit is contained in:
2025-10-05 23:55:36 +02:00
parent 443c62593d
commit d7364a6fdc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ static const int8_t sensorPins[] = {
extern volatile bool readSensors;
void sensorsInit(void);
void triggerMoistureRead(void);
inline void triggerMoistureRead(void);
uint16_t moistureRead(void);
#endif
+1 -1
View File
@@ -17,7 +17,7 @@ void sensorsInit(void) {
PORTC &= ~sensorMask;
}
void triggerMoistureRead(void) {
inline void triggerMoistureRead(void) {
readSensors = true;
}