Sungwoo Kim
/
HydraulicControlBoard_PostLIGHT_210420
LIGHT2
Diff: INIT_HW/INIT_HW.cpp
- Revision:
- 250:f69cd0553be0
- Parent:
- 249:544011ad9c85
- Child:
- 251:91d3ec3a087e
diff -r 544011ad9c85 -r f69cd0553be0 INIT_HW/INIT_HW.cpp --- a/INIT_HW/INIT_HW.cpp Fri Jun 24 05:55:29 2022 +0000 +++ b/INIT_HW/INIT_HW.cpp Wed Jun 29 00:19:21 2022 +0000 @@ -225,7 +225,7 @@ TIM4->CR1 |= TIM_CR1_UDIS; TIM4->EGR |= TIM_EGR_UG; - TIM4->PSC = 20-1; // 10 prescaler, timer counts up in sync with the peripheral clock + TIM4->PSC = 10-1; // 10 prescaler, timer counts up in sync with the peripheral clock TIM4->ARR = 1; TIM4->CNT = 0; TIM4->SR = 0;