diff --git a/src/hal/lolin32litelora.h b/src/hal/lolin32litelora.h index 7c0ebcf2..bbc52439 100644 --- a/src/hal/lolin32litelora.h +++ b/src/hal/lolin32litelora.h @@ -25,10 +25,10 @@ #define CFG_sx1276_radio 1 // RFM95 module // Pins for LORA chip SPI interface, reset line and interrupt lines -#define LORA_SCK (18) -#define LORA_CS (5) -#define LORA_MISO (19) -#define LORA_MOSI (23) +#define LORA_SCK SCK +#define LORA_CS SS +#define LORA_MISO MISO +#define LORA_MOSI MOSI #define LORA_RST (25) #define LORA_IRQ (27) #define LORA_IO1 (26) diff --git a/src/hal/lolin32lora.h b/src/hal/lolin32lora.h index a14c9605..cc3eccd2 100644 --- a/src/hal/lolin32lora.h +++ b/src/hal/lolin32lora.h @@ -26,19 +26,18 @@ #define CFG_sx1276_radio 1 // RFM95 module // Pins for LORA chip SPI interface, reset line and interrupt lines -#define LORA_SCK (5) -#define LORA_CS (18) -#define LORA_MISO (19) -#define LORA_MOSI (27) +#define LORA_SCK SCK +#define LORA_CS SS +#define LORA_MISO MISO +#define LORA_MOSI MOSI #define LORA_RST (25) #define LORA_IRQ (27) #define LORA_IO1 (26) -#define LORA_IO2 LMIC_UNUSED_PIN -#define LORA_IO5 LMIC_UNUSED_PIN +#define LORA_IO2 (4) // Pins for I2C interface of OLED Display -#define MY_OLED_SDA (21) -#define MY_OLED_SCL (22) +#define MY_OLED_SDA SDA +#define MY_OLED_SCL SCL #define MY_OLED_RST NOT_A_PIN // I2C config for Microchip 24AA02E64 DEVEUI unique address