pump switch point tweak
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user