Soft Watchdog, Current Monitoring and other Fixes #1

Merged
o.winkels merged 4 commits from oskar-watchdog-and-stuff into main 2024-08-14 22:49:42 +02:00
Showing only changes of commit bfba65b904 - Show all commits

View File

@ -71,7 +71,7 @@ void ChannelControl_UpdatePWMs(
}
if (timer2_running) {
if ( (tsacfans == 0) || (pwmaggregat == 0) ) {
if ( (tsacfans == 0) && (pwmaggregat == 0) ) {
timer2_running = 0;
HAL_TIM_PWM_Stop(pwmtimer2, TIM_CHANNEL_2);
HAL_TIM_PWM_Stop(pwmtimer2, TIM_CHANNEL_3);