mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-21 15:34:33 +08:00
give USB some clocks
This commit is contained in:
+2
-1
@@ -52,7 +52,8 @@
|
||||
/* Private define ------------------------------------------------------------*/
|
||||
#define TIM_1_8_CLOCK_HZ 168000000
|
||||
// #define TIM_1_8_PERIOD_CLOCKS 4096
|
||||
#define TIM_1_8_PERIOD_CLOCKS 8192
|
||||
// #define TIM_1_8_PERIOD_CLOCKS 8192
|
||||
#define TIM_1_8_PERIOD_CLOCKS 10192
|
||||
#define TIM_1_8_DEADTIME_CLOCKS 20
|
||||
#define TIM_APB1_CLOCK_HZ 84000000
|
||||
// #define TIM_APB1_PERIOD_CLOCKS 2048
|
||||
|
||||
Reference in New Issue
Block a user