adjust pump speed thresholds
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user