mirror of
https://github.com/Genaker/LoraSA.git
synced 2026-03-28 17:42:59 +01:00
Fixup LR1121 - compile warning
This commit is contained in:
@@ -125,6 +125,10 @@ Message *RadioComms::receive(uint16_t timeout_ms)
|
||||
{
|
||||
uint8_t msg[MAX_MSG];
|
||||
|
||||
#ifdef USING_LR1121
|
||||
Message *message = NULL;
|
||||
#warning Radio Comms not fully supported for LR1121
|
||||
#else
|
||||
// because of this, receive is single-threaded, single-device
|
||||
_received = false;
|
||||
radio.setDio1Action(_rcv);
|
||||
@@ -229,6 +233,6 @@ Message *RadioComms::receive(uint16_t timeout_ms)
|
||||
{
|
||||
delete[] packet;
|
||||
}
|
||||
|
||||
#endif
|
||||
return message;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user