fixa de typo too

This commit is contained in:
Thomas Göttgens 2024-09-26 12:15:37 +02:00
parent fff2e435b5
commit a32233bb92
2 changed files with 2 additions and 2 deletions

View File

@ -1001,7 +1001,7 @@ void setup()
#if defined(USE_LR1121) #if defined(USE_LR1121)
if (!rIf) { if (!rIf) {
rIf = new LR1121Interface(RadioLibHAL, LR1121_SPI_NSS_PIN, LR1121_IRQ_PIN, LR1121_NRESER_PIN, LR1121_BUSY_PIN); rIf = new LR1121Interface(RadioLibHAL, LR1121_SPI_NSS_PIN, LR1121_IRQ_PIN, LR1121_NRESET_PIN, LR1121_BUSY_PIN);
if (!rIf->init()) { if (!rIf->init()) {
LOG_WARN("Failed to find LR1121 radio\n"); LOG_WARN("Failed to find LR1121 radio\n");
delete rIf; delete rIf;

View File

@ -65,7 +65,7 @@
// LR1121 // LR1121
#ifdef USE_LR1121 #ifdef USE_LR1121
#define LR1121_IRQ_PIN 36 #define LR1121_IRQ_PIN 36
#define LR1121_NRESER_PIN LORA_RESET #define LR1121_NRESET_PIN LORA_RESET
#define LR1121_BUSY_PIN LORA_DIO2 #define LR1121_BUSY_PIN LORA_DIO2
#define LR1121_SPI_NSS_PIN LORA_CS #define LR1121_SPI_NSS_PIN LORA_CS
#define LR1121_SPI_SCK_PIN LORA_SCK #define LR1121_SPI_SCK_PIN LORA_SCK