refactor name

This commit is contained in:
2026-05-25 13:22:37 +00:00
parent b46731a9e1
commit a28da52f8a
3 changed files with 5 additions and 5 deletions

View File

@@ -91,13 +91,13 @@ void aio_update(struct aio_t *aio) {
aio->water_temp = aio_get_water_temp(aio->handle);
aio->pump_speed = aio_get_pump_speed(aio->handle);
aio->mode = aio_get_pump_mode(aio->handle);
aio->pump_mode = aio_get_pump_mode(aio->handle);
aio_get_fan_speed(aio->handle, aio->fan_speed);
if (aio->water_temp > 36.0f && aio->mode != BALANCED)
if (aio->water_temp > 36.0f && aio->pump_mode != BALANCED)
aio_set_pump_mode(aio->handle, BALANCED);
if (aio->water_temp < 34.0f && aio->mode != QUIET)
if (aio->water_temp < 34.0f && aio->pump_mode != QUIET)
aio_set_pump_mode(aio->handle, QUIET);
aio_usb_release(aio->handle);