kopia lustrzana https://github.com/lora-aprs/LoRa_APRS_iGate
commit
35ae9d8204
|
@ -164,6 +164,9 @@ bool RadiolibTask::loop(System &system) {
|
||||||
} else {
|
} else {
|
||||||
if (!txEnable) {
|
if (!txEnable) {
|
||||||
// system.getLogger().log(logging::LoggerLevel::LOGGER_LEVEL_DEBUG, getName(), "[%s] TX is not enabled", timeString().c_str());
|
// system.getLogger().log(logging::LoggerLevel::LOGGER_LEVEL_DEBUG, getName(), "[%s] TX is not enabled", timeString().c_str());
|
||||||
|
if (!_toModem.empty()) {
|
||||||
|
_toModem.getElement(); // empty list, otherwise memory will get full.
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
if (transmitFlag) {
|
if (transmitFlag) {
|
||||||
// system.getLogger().log(logging::LoggerLevel::LOGGER_LEVEL_DEBUG, getName(), "[%s] TX signal detected. Waiting TX", timeString().c_str());
|
// system.getLogger().log(logging::LoggerLevel::LOGGER_LEVEL_DEBUG, getName(), "[%s] TX signal detected. Waiting TX", timeString().c_str());
|
||||||
|
@ -182,8 +185,6 @@ bool RadiolibTask::loop(System &system) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
_toModem.getElement(); // empty list, otherwise memory will get full.
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue