pref: 修改buzzer接口
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
#define BY_PRESS_LONG 2500
|
||||
#define BY_FORWARD 1500
|
||||
#define BY_BACKWARD 1800
|
||||
#define BUZZER_PIN TIM9_PWM_MAP0_CH1_A2
|
||||
#define BUZZER_PIN TIM9_PWM_MAP0_CH1_A2
|
||||
|
||||
extern uint32_t a[40];
|
||||
extern uint16_t queue_long;
|
||||
@@ -20,4 +20,5 @@ extern void queue_pop_element(void);
|
||||
extern void queue_pop_read(void);
|
||||
extern void by_buzzer_init(void);
|
||||
extern void by_buzzer_add(uint16_t tone);
|
||||
extern void by_buzzer_run(void);
|
||||
#endif
|
||||
Reference in New Issue
Block a user