Fixes for enums in TactilityC (#404)

This commit is contained in:
Ken Van Hoeylandt
2025-11-01 09:38:32 +01:00
committed by GitHub
parent 569cce38fa
commit e2ec39304c
8 changed files with 18 additions and 20 deletions
+2 -2
View File
@@ -7,7 +7,7 @@
extern "C" {
#endif
enum DeviceType {
typedef enum {
DEVICE_TYPE_I2C,
DEVICE_TYPE_DISPLAY,
DEVICE_TYPE_TOUCH,
@@ -15,7 +15,7 @@ enum DeviceType {
DEVICE_TYPE_KEYBOARD,
DEVICE_TYPE_POWER,
DEVICE_TYPE_GPS
};
} DeviceType;
typedef uint32_t DeviceId;