Fixed board and modem import structure
This commit is contained in:
7
LoRa.cpp
7
LoRa.cpp
@@ -4,6 +4,7 @@
|
||||
// Modifications and additions copyright 2023 by Mark Qvist
|
||||
// Obviously still under the MIT license.
|
||||
|
||||
#include "Boards.h"
|
||||
#include "LoRa.h"
|
||||
#include "Modem.h"
|
||||
|
||||
@@ -38,6 +39,12 @@
|
||||
#define ISR_VECT
|
||||
#endif
|
||||
|
||||
#if BOARD_MODEL == BOARD_RNODE_NG_22
|
||||
#define MODEM_MISO 3
|
||||
#define MODEM_MOSI 6
|
||||
#define MODEM_CLK 5
|
||||
#endif
|
||||
|
||||
#if MODEM == SX1262
|
||||
#define OP_FIFO_WRITE 0x0E
|
||||
#define OP_FIFO_READ 0x1E
|
||||
|
||||
Reference in New Issue
Block a user