для платы elsomik определение пина такое же, как у старт

This commit is contained in:
KLASSENTS 2025-01-28 15:57:16 +07:00
parent 0968c33dd5
commit d659a34c67

View File

@ -2076,11 +2076,11 @@ extern "C" void __attribute__((noinline, section(".ram_text"), optimize("O3")))
# if defined(SEND_PWM_BY_TIMER) # if defined(SEND_PWM_BY_TIMER)
#include "pins_arduino.h" #include "pins_arduino.h"
# if defined(ARDUINO_START_MIK32_V1) # if (defined(ARDUINO_START_MIK32_V1) || defined(ARDUINO_ELSOMIK))
#define IR_SEND_PIN P0_0 #define IR_SEND_PIN P0_0
# else # else
#define IR_SEND_PIN 3 #define IR_SEND_PIN 3
# endif // START_MIK32_V1 # endif // START_MIK32_V1, ELSOMIK
static TIMER32_HandleTypeDef ir_sender_htimer; static TIMER32_HandleTypeDef ir_sender_htimer;
static TIMER32_CHANNEL_HandleTypeDef ir_sender_htimer_channel; static TIMER32_CHANNEL_HandleTypeDef ir_sender_htimer_channel;