Migrate to Cube 6.8.0

This commit is contained in:
2023-03-15 18:59:05 +01:00
parent 5b6405cf29
commit 533a09e5dd
5 changed files with 18 additions and 10 deletions

View File

@ -84,6 +84,7 @@ HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority)
htim6.Instance = TIM6;
/* Initialize TIMx peripheral as follow:
+ Period = [(TIM6CLK/1000) - 1]. to have a (1/1000) s time base.
+ Prescaler = (uwTimclock/1000000 - 1) to have a 1MHz counter clock.
+ ClockDivision = 0