Добавлена библиотека IRremote #10

Merged
klassents merged 75 commits from dev into v0.5.0 2025-01-25 06:52:11 +03:00
Showing only changes of commit ed3287bd4b - 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)