diff --git a/documents/images/Card-8.jpg b/documents/images/Card-8.jpg new file mode 100644 index 000000000..a7b7a4551 Binary files /dev/null and b/documents/images/Card-8.jpg differ diff --git a/software/firmware/source/SoftRF/src/platform/ESP32.cpp b/software/firmware/source/SoftRF/src/platform/ESP32.cpp index 9b2a8df63..0a6c41c99 100644 --- a/software/firmware/source/SoftRF/src/platform/ESP32.cpp +++ b/software/firmware/source/SoftRF/src/platform/ESP32.cpp @@ -831,6 +831,10 @@ static void ESP32_setup() hw_info.revision = 12; hw_info.pmu = PMU_AXP2101; +#if defined(USE_RADIOLIB) + /* reserved for HPD-16E */ + lmic_pins.dio[0] = SOC_GPIO_PIN_TBEAM_RF_DIO1_V08; +#endif /* USE_RADIOLIB */ } else { WIRE_FINI(Wire1); hw_info.revision = 2; diff --git a/software/firmware/source/SoftRF/src/platform/iomap/LilyGO_T22.h b/software/firmware/source/SoftRF/src/platform/iomap/LilyGO_T22.h index 3a063fddd..0e2392820 100644 --- a/software/firmware/source/SoftRF/src/platform/iomap/LilyGO_T22.h +++ b/software/firmware/source/SoftRF/src/platform/iomap/LilyGO_T22.h @@ -22,6 +22,8 @@ #define SOC_GPIO_PIN_TBEAM_RF_RST_V05 23 // SX1262 BUSY #define SOC_GPIO_PIN_TBEAM_RF_BUSY_V08 32 +// SX1262 - DIO1, LR1121 - DIO11 +#define SOC_GPIO_PIN_TBEAM_RF_DIO1_V08 33 // 1st I2C bus on the T-Beam #define SOC_GPIO_PIN_TBEAM_SDA 13 #define SOC_GPIO_PIN_TBEAM_SCL 2 diff --git a/software/firmware/source/libraries/RadioLib/src/modules/LR11x0/LR11x0.cpp b/software/firmware/source/libraries/RadioLib/src/modules/LR11x0/LR11x0.cpp index 6891cd59e..e1d2fd3b5 100644 --- a/software/firmware/source/libraries/RadioLib/src/modules/LR11x0/LR11x0.cpp +++ b/software/firmware/source/libraries/RadioLib/src/modules/LR11x0/LR11x0.cpp @@ -2452,7 +2452,7 @@ int16_t LR11x0::setDioIrqParams(uint32_t irq1, uint32_t irq2) { } int16_t LR11x0::setDioIrqParams(uint32_t irq) { - return(setDioIrqParams(irq, 0)); + return(setDioIrqParams(irq, irq)); } int16_t LR11x0::clearIrq(uint32_t irq) {