From bfd9938507d8be612fb9fa2c8f1a27db510505d2 Mon Sep 17 00:00:00 2001 From: Vladislav Osmanov <7123463+osmanovv@users.noreply.github.com> Date: Sat, 22 Jan 2022 16:13:52 +0300 Subject: [PATCH] RFM95/SX127x support in DIY --- variants/meshtastic_diy_v1/variant.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/variants/meshtastic_diy_v1/variant.h b/variants/meshtastic_diy_v1/variant.h index 8dbfe0e4..d1724340 100644 --- a/variants/meshtastic_diy_v1/variant.h +++ b/variants/meshtastic_diy_v1/variant.h @@ -24,6 +24,7 @@ #define RF95_NSS 18 // supported modules list +#define USE_RF95 // RFM95/SX127x #define USE_SX1262 #define USE_SX1268 #define USE_LLCC68 @@ -36,6 +37,10 @@ #define SX126X_RXEN 14 #define SX126X_TXEN 13 +// RX/TX for RFM95/SX127x +#define RF95_RXEN 14 +#define RF95_TXEN 13 + #ifdef EBYTE_E22 // Internally the TTGO module hooks the SX126x-DIO2 in to control the TX/RX switch // (which is the default for the sx1262interface code)