feat: 蜂鸣器和旋钮适配
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#define LONG_PRESS_THRESHOLD_TICK (LONG_PRESS_THRESHOLD_MS * 18000ULL)
|
||||
|
||||
typedef enum rotate_button_event {
|
||||
rotate_button_none = 0,
|
||||
rotate_button_press_short = 1,
|
||||
rotate_button_press_long = 2,
|
||||
rotate_button_forward = 3,
|
||||
@@ -16,9 +17,7 @@ typedef enum rotate_button_event {
|
||||
|
||||
extern uint8_t rotate_button;
|
||||
|
||||
extern void by_exit_init(void);
|
||||
extern void by_gpio_init(void);
|
||||
extern uint8_t by_get_rb_status(void);
|
||||
extern void by_ips_show(void);
|
||||
extern void by_rb_init(void);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user