diff --git a/examples/RadioLibExamples/Receive_Interrupt/Receive_Interrupt.ino b/examples/RadioLibExamples/Receive_Interrupt/Receive_Interrupt.ino index 3024b4f..5fff3ed 100644 --- a/examples/RadioLibExamples/Receive_Interrupt/Receive_Interrupt.ino +++ b/examples/RadioLibExamples/Receive_Interrupt/Receive_Interrupt.ino @@ -181,12 +181,10 @@ void setup() * SX1280 : Allowed values are in range from -18 to 13 dBm. PA Version range : -18 ~ 3dBm * LR1121 : Allowed values are in range from -17 to 22 dBm (high-power PA) or -18 to 13 dBm (High-frequency PA) * * * */ -#if defined(USING_LR1121) if (radio.setOutputPower(CONFIG_RADIO_OUTPUT_POWER) == RADIOLIB_ERR_INVALID_OUTPUT_POWER) { Serial.println(F("Selected output power is invalid for this module!")); while (true); } -#endif #if !defined(USING_SX1280) && !defined(USING_LR1121) /* diff --git a/examples/RadioLibExamples/Transmit_Interrupt/Transmit_Interrupt.ino b/examples/RadioLibExamples/Transmit_Interrupt/Transmit_Interrupt.ino index e407d09..8a07bc3 100644 --- a/examples/RadioLibExamples/Transmit_Interrupt/Transmit_Interrupt.ino +++ b/examples/RadioLibExamples/Transmit_Interrupt/Transmit_Interrupt.ino @@ -177,12 +177,10 @@ void setup() * SX1280 : Allowed values are in range from -18 to 13 dBm. PA Version range : -18 ~ 3dBm * LR1121 : Allowed values are in range from -17 to 22 dBm (high-power PA) or -18 to 13 dBm (High-frequency PA) * * * */ -#if defined(USING_LR1121) if (radio.setOutputPower(CONFIG_RADIO_OUTPUT_POWER) == RADIOLIB_ERR_INVALID_OUTPUT_POWER) { Serial.println(F("Selected output power is invalid for this module!")); while (true); } -#endif #if !defined(USING_SX1280) && !defined(USING_LR1121) /* diff --git a/examples/T3S3Factory/T3S3Factory.ino b/examples/T3S3Factory/T3S3Factory.ino index 16f5b2c..a02e5ab 100644 --- a/examples/T3S3Factory/T3S3Factory.ino +++ b/examples/T3S3Factory/T3S3Factory.ino @@ -253,12 +253,10 @@ void setup() * SX1280 : Allowed values are in range from -18 to 13 dBm. PA Version range : -18 ~ 3dBm * LR1121 : Allowed values are in range from -17 to 22 dBm (high-power PA) or -18 to 13 dBm (High-frequency PA) * * * */ -#if defined(USING_LR1121) if (radio.setOutputPower(CONFIG_RADIO_OUTPUT_POWER) == RADIOLIB_ERR_INVALID_OUTPUT_POWER) { Serial.println(F("Selected output power is invalid for this module!")); while (true); } -#endif #if !defined(USING_SX1280) && !defined(USING_LR1121) /*