This commit is contained in:
2026-07-01 01:50:02 +02:00
parent 86da8434bd
commit 29c14dc56f
11 changed files with 48 additions and 52 deletions

View File

@@ -1,7 +1,6 @@
#ifndef LINUXSMARTIE_GPU_H
#define LINUXSMARTIE_GPU_H
#include <stdbool.h>
#include <stdint.h>
struct gpu_sensors_t {

View File

@@ -4,7 +4,6 @@
#define LCD_LINES 4
#define LCD_COLS 40
#include <stdbool.h>
#include <stdint.h>
struct lcd_t {

View File

@@ -12,8 +12,6 @@
#ifdef APPLOG_ENABLED
#include <stdarg.h>
typedef enum {
LOG_INF,
LOG_WRN,
@@ -38,4 +36,4 @@ void log_write(log_level_t level, const char *func, const char *fmt, ...)
#define applog(...) ((void)0)
#endif /* APPLOG_ENABLED */
#endif /* LOG_H */
#endif /* LINUXSMARTIE_LOG_H */

View File

@@ -1,10 +1,10 @@
#ifndef LINUXSMARTIE_UTILS_H
#define LINUXSMARTIE_UTILS_H
#include <stdbool.h>
#include <stddef.h>
#include <time.h>
#if __STDC_VERSION__ >= 202311L
#if __STDC_VERSION__ >= 202000L
#define C_STD "C23"
#elif __STDC_VERSION__ >= 201710L
#define C_STD "C17"