From 0d9512b4b53ea5558208b079f116226fa3586c80 Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Sat, 14 Jul 2018 11:44:50 +0200 Subject: [PATCH] lopy.h + lopy4.h DIOs edited --- src/hal/lopy.h | 4 ++-- src/hal/lopy4.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hal/lopy.h b/src/hal/lopy.h index 11b3cff2..0da195e6 100644 --- a/src/hal/lopy.h +++ b/src/hal/lopy.h @@ -11,8 +11,8 @@ #define PIN_SPI_SCK GPIO_NUM_5 #define RST GPIO_NUM_18 #define DIO0 GPIO_NUM_23 // LoRa IRQ -#define DIO1 GPIO_NUM_23 // workaround -#define DIO2 LMIC_UNUSED_PIN +#define DIO1 GPIO_NUM_23 // Pin tied via diode to DIO0 +#define DIO2 GPIO_NUM_23 // Pin tied via diode to DIO0 // select WIFI antenna (internal = onboard / external = u.fl socket) #define HAS_ANTENNA_SWITCH 16 // pin for switching wifi antenna diff --git a/src/hal/lopy4.h b/src/hal/lopy4.h index 1b14d8d1..37ac3f0e 100644 --- a/src/hal/lopy4.h +++ b/src/hal/lopy4.h @@ -12,8 +12,8 @@ #define PIN_SPI_SCK GPIO_NUM_5 #define RST LMIC_UNUSED_PIN #define DIO0 GPIO_NUM_23 // LoRa IRQ -#define DIO1 GPIO_NUM_23 // workaround -#define DIO2 LMIC_UNUSED_PIN +#define DIO1 GPIO_NUM_23 // Pin tied via diode to DIO0 +#define DIO1 GPIO_NUM_23 // Pin tied via diode to DIO0 // select WIFI antenna (internal = onboard / external = u.fl socket) #define HAS_ANTENNA_SWITCH 21 // pin for switching wifi antenna