mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-03-15 19:06:05 -04:00
Use built-in split-packet check in transmit function
This commit is contained in:
parent
7f998e6436
commit
9edc2224e7
@ -609,7 +609,7 @@ void transmit(uint16_t size) {
|
||||
|
||||
written++;
|
||||
|
||||
if (written == 255 && header & 0x0F) {
|
||||
if (written == 255 && isSplitPacket(header)) {
|
||||
if (!LoRa->endPacket()) {
|
||||
kiss_indicate_error(ERROR_MODEM_TIMEOUT);
|
||||
kiss_indicate_error(ERROR_TXFAILED);
|
||||
|
Loading…
x
Reference in New Issue
Block a user