From f05c1f22af124d7cab0b482cdcd124c1d14dbb10 Mon Sep 17 00:00:00 2001 From: KLASSENTS Date: Wed, 29 Jan 2025 09:20:37 +0700 Subject: [PATCH] =?UTF-8?q?=D0=B5=D1=81=D0=BB=D0=B8=20=D0=BF=D0=BB=D0=B0?= =?UTF-8?q?=D1=82=D0=B0=20=D0=BD=D0=B5=20=D0=BF=D1=80=D0=BE=D0=BF=D0=B8?= =?UTF-8?q?=D1=81=D0=B0=D0=BD=D0=B0,=20=D0=B2=D1=8B=D0=B4=D0=B0=D1=82?= =?UTF-8?q?=D1=8C=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libraries/IRremote/src/private/IRTimer.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libraries/IRremote/src/private/IRTimer.hpp b/libraries/IRremote/src/private/IRTimer.hpp index f064e04..ad1db69 100644 --- a/libraries/IRremote/src/private/IRTimer.hpp +++ b/libraries/IRremote/src/private/IRTimer.hpp @@ -2078,9 +2078,12 @@ extern "C" void __attribute__((noinline, section(".ram_text"), optimize("O3"))) # if (defined(ARDUINO_START_MIK32_V1) || defined(ARDUINO_ELSOMIK)) #define IR_SEND_PIN P0_0 -# else +# elif (defined(ARDUINO_ACE_UNO_8MB) || defined(ARDUINO_ACE_UNO_16MB) || \ + defined(ARDUINO_ACE_UNO_32MB) || defined(ARDUINO_ELBEAR_NANO)) #define IR_SEND_PIN 3 -# endif // START_MIK32_V1, ELSOMIK +# else +#error "Unknown MIK32V2 board!" +# endif static TIMER32_HandleTypeDef ir_sender_htimer; static TIMER32_CHANNEL_HandleTypeDef ir_sender_htimer_channel;