Update STM32F1 HAL to v1.8.0
This commit is contained in:
2
main.cpp
2
main.cpp
@ -804,7 +804,7 @@ void MX_TIM_Init() {
|
||||
|
||||
sTimConfig.InputTrigger = TIM_TS_ITR0;
|
||||
sTimConfig.SlaveMode = TIM_SLAVEMODE_GATED;
|
||||
HAL_TIM_SlaveConfigSynchronization(&htim_left, &sTimConfig);
|
||||
HAL_TIM_SlaveConfigSynchro(&htim_left, &sTimConfig);
|
||||
|
||||
// Start counting >0 to effectively offset timers by the time it takes for one ADC conversion to complete.
|
||||
// This method allows that the Phase currents ADC measurements are properly aligned with LOW-FET ON region for both motors
|
||||
|
Reference in New Issue
Block a user