we alredy set the fan curve in aio.c, lets set pump set points there too

This commit is contained in:
2026-07-10 12:54:31 +02:00
parent 816698f2a5
commit 7eaa63a1aa
3 changed files with 6 additions and 6 deletions

View File

@@ -129,7 +129,7 @@ static void aio_set_fan_curve(libusb_device_handle* dev, const struct curve_poin
applog(LOG_INF, "set up AIO fan curve");
}
void aio_detect(struct aio_t *aio, const float t_quiet, const float t_balanced, const float t_extreme) {
void aio_detect(struct aio_t *aio) {
libusb_init(nullptr);
aio->handle = libusb_open_device_with_vid_pid(nullptr, AIO_USB_VID, AIO_USB_PID);
if (aio->handle == nullptr) {
@@ -137,9 +137,9 @@ void aio_detect(struct aio_t *aio, const float t_quiet, const float t_balanced,
return;
}
aio->t_q = t_quiet;
aio->t_b = t_balanced;
aio->t_e = t_extreme;
aio->t_q = 36.5f;
aio->t_b = 38.5f;
aio->t_e = 41.0f;
const struct curve_point_t fan_curve[] = {
{ 34, SPD2DTY(0)},

View File

@@ -54,7 +54,7 @@ static void *sensors_thread(void *arg) {
cpu_detect(&sensors->cpu, cpu_pcidev);
gpu_detect(&sensors->gpu, gpu_pcidev);
sys_detect(&sensors->sys, "nct6775.656");
aio_detect(&sensors->aio, 36.5f, 38.5f, 41.0f);
aio_detect(&sensors->aio);
/* main sensor loop */
applog(LOG_START, "reached sensors main loop");