mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2025-12-06 07:42:00 +01:00
Update TaskRadiolib.cpp
This commit is contained in:
parent
fe0fad98bc
commit
2dec74f4c2
|
|
@ -164,7 +164,7 @@ 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());
|
||||||
_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());
|
||||||
|
|
@ -183,6 +183,8 @@ bool RadiolibTask::loop(System &system) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
_toModem.getElement(); // empty list, otherwise memory will get full.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue