From a53fc1b33f87b11f2c25f28009e7648804fec045 Mon Sep 17 00:00:00 2001 From: Drath Date: Mon, 24 Aug 2026 23:43:53 +0200 Subject: [PATCH] tweakin --- src/aio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/aio.c b/src/aio.c index a542a1d..b278c93 100644 --- a/src/aio.c +++ b/src/aio.c @@ -12,7 +12,7 @@ static constexpr uint8_t max_curve_points = 7; static uint8_t req[buf_size], resp[buf_size]; static const struct curve_point_t fan_curve[] = { - { .temp = 37, .duty = 15 }, + { .temp = 35, .duty = 20 }, // ~150rpm { .temp = 40, .duty = 40 }, { .temp = 46, .duty = 60 }, { .temp = 50, .duty = 100 } @@ -150,7 +150,6 @@ static void aio_set_fan_curve(libusb_device_handle *dev, const struct curve_poin for (int i = 0; i < max_curve_points; i++) padded[i] = (i < count) ? curve[i] : curve[count - 1]; - // uint8_t req[16], resp[32]; req[0] = 0x40; // setup request