Rename for better readability

pull/15/head
sh123 2021-02-12 16:49:08 +02:00
rodzic f4254a95d5
commit 2777f91f08
2 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -102,7 +102,7 @@ bool Processor::processRigToSerial()
bool Processor::processSerialToRig() bool Processor::processSerialToRig()
{ {
bool isProcessed = false; bool allProcessed = false;
while (onSerialRxHasData() || !serialToRigQueue_.isEmpty()) { while (onSerialRxHasData() || !serialToRigQueue_.isEmpty()) {
byte rxByte; byte rxByte;
@ -116,14 +116,14 @@ bool Processor::processSerialToRig()
if (!serialToRigQueue_.isEmpty()) { if (!serialToRigQueue_.isEmpty()) {
rxByte = serialToRigQueue_.pop(); rxByte = serialToRigQueue_.pop();
if (receiveByte(rxByte)) { if (receiveByte(rxByte)) {
isProcessed = true; allProcessed = true;
} else { } else {
serialToRigQueue_.push(rxByte); serialToRigQueue_.push(rxByte);
} }
} }
yield(); yield();
} }
return isProcessed; return allProcessed;
} }
bool Processor::processCommand(byte rxByte) { bool Processor::processCommand(byte rxByte) {

Wyświetl plik

@ -175,7 +175,7 @@ void Service::loop()
if (aprsisConn_.available() > 0) { if (aprsisConn_.available() > 0) {
onAprsisDataAvailable(); onAprsisDataAvailable();
} }
else if (needsBeacon()) { else if (needsBeacon()) {s
sendPeriodicBeacon(); sendPeriodicBeacon();
} }
else { else {