aboutsummaryrefslogtreecommitdiffhomepage
path: root/source/Core/BSP/Sequre_S60/BSP.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Core/BSP/Sequre_S60/BSP.cpp')
-rw-r--r--source/Core/BSP/Sequre_S60/BSP.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Core/BSP/Sequre_S60/BSP.cpp b/source/Core/BSP/Sequre_S60/BSP.cpp
index b32f239e..ebf46e7f 100644
--- a/source/Core/BSP/Sequre_S60/BSP.cpp
+++ b/source/Core/BSP/Sequre_S60/BSP.cpp
@@ -105,7 +105,7 @@ void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) {
if (PWMSafetyTimer == 0) {
htim4.Instance->CCR3 = 0;
} else {
- htim4.Instance->CCR3 = pendingPWM;
+ htim4.Instance->CCR3 = pendingPWM / 4;
}
} else if (htim->Instance == TIM1) {
// STM uses this for internal functions as a counter for timeouts