kopia lustrzana https://github.com/sh123/codec2_talkie
Refactor
rodzic
93f98cc26b
commit
19d5d8adbd
|
@ -179,12 +179,12 @@ public class AprsIs implements Protocol, Runnable {
|
|||
// NOTE, https://aprs-is.net/IGateDetails.aspx
|
||||
AprsIsData aprsIsData = new AprsIsData(src, dst, path, new String(data));
|
||||
if (aprsIsData.isEligibleForRxGate()) {
|
||||
// strip "rf header" for third party packets before gating
|
||||
if (aprsIsData.hasThirdParty()) {
|
||||
aprsIsData = aprsIsData.thirdParty;
|
||||
}
|
||||
String rawData = aprsIsData.toString() + "\n";
|
||||
synchronized (_toAprsIsQueue) {
|
||||
// strip "rf header" for third party packets before gating
|
||||
if (aprsIsData.hasThirdParty()) {
|
||||
aprsIsData = aprsIsData.thirdParty;
|
||||
}
|
||||
String rawData = aprsIsData.toString() + "\n";
|
||||
_toAprsIsQueue.put(rawData.getBytes());
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue