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

@@ -16,19 +16,19 @@ struct memory_t {
struct disk_t {
struct memory_t usage;
char mountpoint[256];
char mountpoint[64];
};
struct network_t {
uint32_t download;
uint32_t upload;
char device[32];
char device[16];
};
struct syssensors_t {
uint16_t fan_speed[2]; // left and right cpu fans
int16_t t_sensor; // ntc temp sensor
char hwmon[128];
char hwmon[64];
};
void sys_get_time(struct time_date_t *td);
@@ -42,6 +42,7 @@ void sys_get_disk(struct disk_t *disk);
void sys_get_network(struct network_t *network);
void sys_detect(struct syssensors_t *s, const char *platform);
void sys_update_sensors(struct syssensors_t *s);
#endif // LINUXSMARTIE_SYS_H