From f8046918c6da02282813533c611098219eaefec9 Mon Sep 17 00:00:00 2001 From: Drath Date: Wed, 2 Sep 2026 17:08:12 +0200 Subject: [PATCH] pump switch point tweak --- src/aio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/aio.c b/src/aio.c index e726b9a..b82855f 100644 --- a/src/aio.c +++ b/src/aio.c @@ -201,7 +201,7 @@ void aio_update(struct aio_t *aio) { const uint16_t avg_rpm = (uint16_t)((aio->fan_speed[0] + aio->fan_speed[1]) / 2); switch (aio->pump_mode) { case AIO_PUMP_MODE_QUIET: - if (avg_rpm >= 500) + if (avg_rpm > 400) aio->pump_counter++; else aio->pump_counter = 0; @@ -214,7 +214,7 @@ void aio_update(struct aio_t *aio) { case AIO_PUMP_MODE_BALANCED: if (avg_rpm >= 700) aio->pump_counter++; - else if (avg_rpm <= 400) + else if (avg_rpm <= 375) aio->pump_counter--; else aio->pump_counter = 0; @@ -252,4 +252,4 @@ void aio_close(const struct aio_t *aio) { libusb_close(aio->handle); libusb_exit(nullptr); applog(LOG_INF, "AIO device closed"); -} \ No newline at end of file +}