summaryrefslogtreecommitdiff
path: root/src/class/hid/hid.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/class/hid/hid.h')
-rw-r--r--src/class/hid/hid.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/class/hid/hid.h b/src/class/hid/hid.h
index 6014e54a6..5c30f7585 100644
--- a/src/class/hid/hid.h
+++ b/src/class/hid/hid.h
@@ -142,11 +142,11 @@ typedef enum
} hid_local_enum_t;
// HID protocol value used by GetProtocol / SetProtocol
-enum
+typedef enum
{
HID_PROTOCOL_BOOT = 0,
HID_PROTOCOL_REPORT = 1
-};
+} hid_protocol_mode_enum_t;
/** @} */