Fix CubeMX's wrongdoing

This commit is contained in:
Julian Marmier
2024-06-12 22:37:51 +02:00
parent c07df344f3
commit 171d2807d4
5 changed files with 363 additions and 388 deletions

View File

@ -7,10 +7,10 @@
extern "C" {
#endif
#define NUM_BUTTONS 6
#define NUM_BUTTONS 7
#define NUM_ENCS 2
#define BUTTON_MIN_INTERVAL 50 // ms
#define ENC_MAX_PHASE 50 // ms
#define BUTTON_MIN_INTERVAL 50 // ms
#define ENC_MAX_PHASE 50 // ms
typedef enum { UMK_BTN_PRESSED, UMK_ENC_CW, UMK_ENC_CCW } ButtonMessageKind;
@ -25,4 +25,4 @@ void ui_thread_entry(ULONG _);
}
#endif
#endif // __INC_ui_H
#endif // __INC_ui_H