v0.5.0 #19

Merged
klassents merged 310 commits from v0.5.0 into main 2025-04-28 07:06:11 +03:00
Showing only changes of commit b18a324c1e - Show all commits

View File

@ -2119,7 +2119,7 @@ void timerConfigForSend(uint16_t aFrequencyKHz)
void enableSendPWMByTimer()
{
// start timer with initialized channel
// enable channel
HAL_Timer32_Value_Clear(&ir_sender_htimer);
HAL_Timer32_Channel_Enable(&ir_sender_htimer_channel);
}
@ -2127,7 +2127,6 @@ void enableSendPWMByTimer()
void disableSendPWMByTimer()
{
HAL_Timer32_Channel_Disable(&ir_sender_htimer_channel);
digitalWriteFast(IR_SEND_PIN, 1);
}
# endif // defined(SEND_PWM_BY_TIMER)