we alredy set the fan curve in aio.c, lets set pump set points there too
This commit is contained in:
@@ -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)},
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user