Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: INIT_HW/INIT_HW.cpp
- Revision:
- 249:f69cd0553be0
- Parent:
- 248:544011ad9c85
- Child:
- 250: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;