FOC开环调试成功

This commit is contained in:
cbb
2025-10-16 21:43:34 +08:00
parent 35801d6f48
commit aaee40f36b
12 changed files with 365 additions and 147 deletions
+1 -2
View File
@@ -34,8 +34,6 @@ OF SUCH DAMAGE.
#include "gd32c10x.h"
#include "systick.h"
#include "initial.h"
#include <cstdio>
volatile static uint32_t delay;
@@ -69,6 +67,7 @@ void delay_1s(uint32_t count)
delay_1ms(1000);
}
}
/*!
\brief delay a time in milliseconds
\param[in] count: count in milliseconds