diff --git a/variants/rp2040-lora/variant.h b/variants/rp2040-lora/variant.h index f1826605f5..92b0674573 100644 --- a/variants/rp2040-lora/variant.h +++ b/variants/rp2040-lora/variant.h @@ -15,7 +15,7 @@ // rxd = 9 #define EXT_NOTIFY_OUT 22 -#undef BUTTON_PIN // Pin 17 used for antenna switching via DIO4 +#define BUTTON_PIN -1 // Pin 17 used for antenna switching via DIO4 #define LED_PIN PIN_LED @@ -57,4 +57,4 @@ #define SX126X_DIO2_AS_RF_SWITCH // Antenna switch CTRL #define SX126X_RXEN LORA_DIO4 // Antenna switch !CTRL via GPIO17 // #define SX126X_DIO3_TCXO_VOLTAGE 1.8 -#endif \ No newline at end of file +#endif