Replace SLOT_ID_* macros with SlotId_* enum values.

This commit is contained in:
László Monda
2017-09-26 20:01:18 +02:00
parent 065a19fdc8
commit 9dde9ee917
3 changed files with 11 additions and 7 deletions

View File

@@ -12,11 +12,15 @@
// Macros:
#define SLOT_ID_RIGHT_KEYBOARD_HALF 0
#define SLOT_ID_LEFT_KEYBOARD_HALF 1
#define SLOT_ID_LEFT_MODULE 2
#define SLOT_ID_RIGHT_MODULE 3
#define SLOT_COUNT 4
// Typedefs:
typedef enum {
SlotId_RightKeyboardHalf = 0,
SlotId_LeftKeyboardHalf = 1,
SlotId_LeftModule = 2,
SlotId_RightModule = 3,
} slot_t;
#endif