consistency, optminization

This commit is contained in:
2026-05-11 11:02:24 +00:00
parent 574f59b8f5
commit aa57cdf651
4 changed files with 12 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
#ifndef GPU_H
#define GPU_H
#ifndef LINUXSMARTIE_GPU_H
#define LINUXSMARTIE_GPU_H
#include <stdbool.h>
#include <stdint.h>
@@ -33,7 +33,7 @@ struct gpu_sensors_t {
uint8_t usage_media;
uint8_t usage_umc;
char hwmon[128];
char hwmon[64];
};
void gpu_detect(struct gpu_sensors_t *t, const char *pci);