Fix CubeMX's wrongdoing
This commit is contained in:
		@ -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
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user