FOC开环速度调试

This commit is contained in:
cbb
2025-10-16 21:56:15 +08:00
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -5,6 +5,7 @@
#include "Timer.h"
#include "adc.h"
#include "core_cm4.h"
#include "core_cm4.h"
#include "device/tle5012b.h"
#include "gd32c10x_gpio.h"
#include "initial.h"
@@ -36,4 +37,4 @@ int main(void) {
printf("1\r\n");
CAN0_transmiter.communication_check();
}
}
}
+1
View File
@@ -79,6 +79,7 @@ void delay_1ms(uint32_t count)
delay = count;
while(0U != delay){
fwdgt_counter_reload();
fwdgt_counter_reload();
}
}