generated from hulk/gd32e23x_template_cmake_vscode
fix project
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
#include "systick.h"
|
||||
|
||||
volatile bool g_ultrasonic_measure_done = false;
|
||||
extern uint32_t g_capture_value;
|
||||
|
||||
void ultrasonic_tx_init(void) {
|
||||
|
||||
@@ -73,7 +72,9 @@ void ultrasonic_pwm_out_cycles(void) {
|
||||
timer_channel_output_state_config(TIMER13, TIMER_CH_0, TIMER_CCX_ENABLE);
|
||||
|
||||
timer_enable(US_TX_TIMER);
|
||||
timer_enable(TIMER15);
|
||||
|
||||
// TODO 启动后续回波计时器
|
||||
// timer_enable(TIMER15);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user