если плата не прописана, выдать ошибку
This commit is contained in:
parent
25e595e1ec
commit
f05c1f22af
@ -2078,9 +2078,12 @@ extern "C" void __attribute__((noinline, section(".ram_text"), optimize("O3")))
|
|||||||
|
|
||||||
# if (defined(ARDUINO_START_MIK32_V1) || defined(ARDUINO_ELSOMIK))
|
# if (defined(ARDUINO_START_MIK32_V1) || defined(ARDUINO_ELSOMIK))
|
||||||
#define IR_SEND_PIN P0_0
|
#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
|
#define IR_SEND_PIN 3
|
||||||
# endif // START_MIK32_V1, ELSOMIK
|
# else
|
||||||
|
#error "Unknown MIK32V2 board!"
|
||||||
|
# endif
|
||||||
|
|
||||||
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;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user