refactor name
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -152,7 +152,7 @@ static void *display_thread(void *arg) {
|
||||
lcd_writef(&lcd, 32, 2, "%3d/%3dW", sensors->gpu.power_avg, sensors->gpu.power_cap);
|
||||
|
||||
lcd_writef(&lcd, 0, 3, "%dMHz", sensors->cpu.avg_freq);
|
||||
lcd_writef(&lcd, 8, 3, "%4dR-%c", sensors->aio.pump_speed, modes[sensors->aio.mode]);
|
||||
lcd_writef(&lcd, 8, 3, "%4dR-%c", sensors->aio.pump_speed, modes[sensors->aio.pump_mode]);
|
||||
lcd_writef(&lcd, 21, 3, "%12s", gpuclock);
|
||||
lcd_writef(&lcd, 34, 3, "%.3fV", sensors->gpu.vcore);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user