re-add accidentially removed logic

This commit is contained in:
Vinzenz Schroeter 2025-04-18 11:52:02 +02:00
commit 9ad1857a64

View file

@ -20,7 +20,7 @@ constexpr unsigned int SECOND = 1000;
constexpr unsigned int MINUTE = SECOND * 60;
constexpr unsigned int HOUR = MINUTE * 60;
constexpr unsigned int MEASUREMENT_COUNT = 3;
constexpr unsigned int MEASUREMENT_COUNT = 1;
constexpr int MEASUREMENT_DELAY = 10;
/// Pots will always be watered below this humidity
@ -42,7 +42,7 @@ constexpr int WATER_TIME_MS = 3 * SECOND;
constexpr int LOOP_DELAY_MS = 1 * SECOND; // TODO set higher once it is working
/// minimum amount of time to wait between watering each pot, even when minimum wetness has been reached
constexpr int MIN_WATERING_INTERVAL_MS = 1 * MINUTE;
constexpr int MIN_WATERING_INTERVAL_MS = 1 * SECOND; // TODO set higher once it is working
/// maximum amount of time to wait between watering each pot, as long as maximum wetness has not been reaached
constexpr int MAX_WATERING_INTERVAL_MS = 24 * HOUR;