Minor rename to conform to ax25

pull/6/head
sh123 2020-06-12 18:55:55 +03:00
rodzic 757ba99135
commit c88ed243bc
2 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -17,9 +17,9 @@ String Payload::ToText(const String &customComment)
} }
} }
txt += String(":") + body_; txt += String(":") + info_;
if (body_.startsWith("=")) { if (info_.startsWith("=")) {
txt += customComment; txt += customComment;
} }
@ -63,7 +63,7 @@ bool Payload::parsePayload(byte *rxPayload, int payloadLength)
// information field // information field
while (rxPtr < rxEnd) { while (rxPtr < rxEnd) {
body_ += String((char)*(rxPtr++)); info_ += String((char)*(rxPtr++));
} }
return true; return true;

Wyświetl plik

@ -31,7 +31,7 @@ private:
String srcCall_, dstCall_; String srcCall_, dstCall_;
String rptCalls_[7]; String rptCalls_[7];
int rptCallsCount_; int rptCallsCount_;
String body_; String info_;
}; };
} // AX25 } // AX25