mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-09 06:32:06 +00:00
fixa de typo too
This commit is contained in:
parent
fff2e435b5
commit
a32233bb92
@ -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;
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user