mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-02-25 00:59:51 -05: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