From cea48f8d57050cff6c006c2c70aa9e3c1eb0f7f7 Mon Sep 17 00:00:00 2001 From: Silvano Seva Date: Sun, 23 Jun 2024 09:46:13 +0200 Subject: [PATCH] Linux: added Module17 hardware info flags to allow compilation of UI emulator --- platform/targets/linux/hwconfig.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/platform/targets/linux/hwconfig.h b/platform/targets/linux/hwconfig.h index 41e66b98..e0a71a3c 100644 --- a/platform/targets/linux/hwconfig.h +++ b/platform/targets/linux/hwconfig.h @@ -22,6 +22,13 @@ extern "C" { #endif +/* Module17 hardware info flags, required by Module17 UI emulator target */ +enum Mod17Flags +{ + MOD17_FLAGS_HMI_PRESENT = 1, + MOD17_FLAGS_SOFTPOT = 2 +}; + /* Screen has adjustable brightness */ #define CONFIG_SCREEN_BRIGHTNESS