We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82aedb1 commit c203b98Copy full SHA for c203b98
src/loraprs_service.cpp
@@ -504,7 +504,7 @@ bool Service::sendAx25PayloadToRig(const AX25::Payload &payload)
504
if (config_.EnableTextPackets) {
505
String textPayload = payload.ToString();
506
int textPayloadLength = textPayload.length() + 1; // include null terminator
507
- bytesWritten = textPayloadLenght > CfgMaxPacketSize ? CfgMaxPacketSize : textPayloadLength;
+ bytesWritten = textPayloadLength > CfgMaxPacketSize ? CfgMaxPacketSize : textPayloadLength;
508
textPayload.getBytes(buf, bytesWritten);
509
buf[bytesWritten-1] = '\0';
510
0 commit comments