Skip to content

Commit 30eec01

Browse files
authored
Fix hydra radio (meshtastic#7192)
Added missing defines to variant.h
1 parent cc961d7 commit 30eec01

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

variants/diy/hydra/variant.h

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,12 @@
3636
#define SX126X_TXEN 13 // Schematic connects EBYTE module's TXEN pin to MCU
3737
#define SX126X_RXEN 14 // Schematic connects EBYTE module's RXEN pin to MCU
3838

39-
#define LORA_CS SX126X_CS // Compatibility with variant file configuration structure
40-
#define LORA_SCK SX126X_SCK // Compatibility with variant file configuration structure
41-
#define LORA_MOSI SX126X_MOSI // Compatibility with variant file configuration structure
42-
#define LORA_MISO SX126X_MISO // Compatibility with variant file configuration structure
43-
#define LORA_DIO1 SX126X_DIO1 // Compatibility with variant file configuration structure
39+
#define LORA_CS SX126X_CS // Compatibility with variant file configuration structure
40+
#define LORA_SCK SX126X_SCK // Compatibility with variant file configuration structure
41+
#define LORA_MOSI SX126X_MOSI // Compatibility with variant file configuration structure
42+
#define LORA_MISO SX126X_MISO // Compatibility with variant file configuration structure
43+
#define LORA_DIO1 SX126X_DIO1 // Compatibility with variant file configuration structure
44+
#define LORA_TXEN SX126X_TXEN // Compatibility with variant file configuration structure
45+
#define LORA_RXEN SX126X_RXEN // Compatibility with variant file configuration structure
46+
#define LORA_RESET SX126X_RESET // Compatibility with variant file configuration structure
47+
#define LORA_DIO2 SX126X_BUSY // Compatibility with variant file configuration structure

0 commit comments

Comments
 (0)