give USB some clocks

This commit is contained in:
Oskar Weigl
2017-03-01 01:27:29 +01:00
parent 70319f4199
commit 3ddec83f77
+2 -1
View File
@@ -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