From 2b6a72fcb24adea35d295e47ba159596392c2b94 Mon Sep 17 00:00:00 2001 From: Drath Date: Sun, 14 Jun 2026 10:58:14 +0200 Subject: [PATCH] adjust pump speed thresholds --- src/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 4ea55e9..10ff7ab 100644 --- a/src/main.c +++ b/src/main.c @@ -15,7 +15,7 @@ #include "sys.h" #include "utils.h" -static const uint8_t lcd_contrast = 220; +static const uint8_t lcd_contrast = 200; static const uint16_t refresh_interval_ms = 1000; static const char netif[] = "enp4s0f0"; static const char cpu_pcidev[] = "0000:00:18.3"; @@ -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, 34.0f, 36.0f); + aio_detect(&sensors->aio, 37.0f, 38.0f); /* main sensor loop */ applog(LOG_START, "reached sensors main loop"); @@ -164,6 +164,7 @@ static void *display_thread(void *arg) { } lcd_write_buf(&lcd, 2, 16, "Goodbye"); // center + lcd_set_backlight(&lcd, false); lcd_flush_buf(&lcd); lcd_close(&lcd); applog(LOG_WRN, "display thread stopped");