kopia lustrzana https://github.com/sh123/esp32_loraprs
rodzic
4d653c3fcb
commit
d094d05cd4
|
@ -66,12 +66,6 @@ void Processor::queueRigToSerial(Cmd cmd, const byte *packet, int packetLength)
|
||||||
void Processor::queueSerialToRig(Cmd cmd, const byte *packet, int packetLength) {
|
void Processor::queueSerialToRig(Cmd cmd, const byte *packet, int packetLength) {
|
||||||
bool result = 1;
|
bool result = 1;
|
||||||
if (disableKiss_) {
|
if (disableKiss_) {
|
||||||
// inject proprietary identifier
|
|
||||||
if (usePrefix3_) {
|
|
||||||
result &= serialToRigQueue_.unshift('<');
|
|
||||||
result &= serialToRigQueue_.unshift(0xff);
|
|
||||||
result &= serialToRigQueue_.unshift(0x01);
|
|
||||||
}
|
|
||||||
// TNC2, send as is, receiveByteRaw will deal with it
|
// TNC2, send as is, receiveByteRaw will deal with it
|
||||||
for (int i = 0; i < packetLength; i++) {
|
for (int i = 0; i < packetLength; i++) {
|
||||||
byte rxByte = packet[i];
|
byte rxByte = packet[i];
|
||||||
|
|
Ładowanie…
Reference in New Issue