Skip to content

Commit 2c91743

Browse files
committed
variant: Add SX126X_RXEN definition for multiple variants
This commit introduces the definition of SX126X_RXEN as RADIOLIB_NC in various variant.h files for the esp32c6, esp32s3, nrf52840, and nrf52840 solar variants. This change ensures consistency across the firmware configurations. Signed-off-by: Chiho Sin <[email protected]>
1 parent 27270c8 commit 2c91743

File tree

6 files changed

+6
-1
lines changed

6 files changed

+6
-1
lines changed

variants/esp32c6/fobe_idea_mesh_repeater_l1/variant.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
#define SX126X_RESET LORA_RESET
3131
#define SX126X_ANT_SW 19
3232
#define SX126X_TXEN RADIOLIB_NC
33+
#define SX126X_RXEN RADIOLIB_NC
3334
#define SX126X_DIO2_AS_RF_SWITCH
3435
#define SX126X_DIO3_TCXO_VOLTAGE 1.8
35-
#define SX126X_MAX_POWER 22

variants/esp32s3/fobe_quill_esp32s3_mesh/variant.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535

3636
#define SX126X_DIO2_AS_RF_SWITCH
3737
#define SX126X_ANT_SW 46
38+
#define SX126X_RXEN RADIOLIB_NC
3839
#define SX126X_TXEN RADIOLIB_NC
3940
#define SX126X_DIO3_TCXO_VOLTAGE 1.8
4041
#endif

variants/nrf52840/fobe_idea_mesh_tracker_c1/variant.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ static const uint8_t SCK = PIN_SPI_SCK;
109109
#define SX126X_BUSY (0 + 15)
110110
#define SX126X_RESET (0 + 13)
111111
#define SX126X_TXEN RADIOLIB_NC
112+
#define SX126X_RXEN RADIOLIB_NC
112113
#define SX126X_ANT_SW (0 + 11)
113114
#define SX126X_DIO2_AS_RF_SWITCH
114115
#define SX126X_DIO3_TCXO_VOLTAGE 1.8

variants/nrf52840/fobe_idea_mesh_tracker_c1_voice/variant.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ static const uint8_t SCK = PIN_SPI_SCK;
109109
#define SX126X_BUSY (0 + 15)
110110
#define SX126X_RESET (0 + 13)
111111
#define SX126X_TXEN RADIOLIB_NC
112+
#define SX126X_RXEN RADIOLIB_NC
112113
#define SX126X_ANT_SW (0 + 11)
113114
#define SX126X_DIO2_AS_RF_SWITCH
114115
#define SX126X_DIO3_TCXO_VOLTAGE 1.8

variants/nrf52840/fobe_quill_nrf52840_mesh/variant.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ static const uint8_t SCK = PIN_SPI_SCK;
150150
#define SX126X_BUSY (32 + 4)
151151
#define SX126X_RESET (32 + 6)
152152
#define SX126X_TXEN RADIOLIB_NC
153+
#define SX126X_RXEN RADIOLIB_NC
153154
#define SX126X_ANT_SW (0 + 25)
154155
#define SX126X_DIO2_AS_RF_SWITCH
155156
#define SX126X_DIO3_TCXO_VOLTAGE 1.8

variants/nrf52840/fobe_quill_nrf52840_mesh_solar/variant.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ static const uint8_t SCK = PIN_SPI_SCK;
150150
#define SX126X_BUSY (32 + 4)
151151
#define SX126X_RESET (32 + 6)
152152
#define SX126X_TXEN RADIOLIB_NC
153+
#define SX126X_RXEN RADIOLIB_NC
153154
#define SX126X_ANT_SW (0 + 25)
154155
#define SX126X_DIO2_AS_RF_SWITCH
155156
#define SX126X_DIO3_TCXO_VOLTAGE 1.8

0 commit comments

Comments
 (0)