don't wait in rx loop

This commit is contained in:
MichaelDvP
2020-06-02 15:14:51 +02:00
parent 3300f1e757
commit 4247633850
3 changed files with 14 additions and 5 deletions

View File

@@ -222,10 +222,10 @@ void RxService::start() {
void RxService::loop() {
#ifndef EMSESP_STANDALONE
// give rx some breathing space
if ((uuid::get_uptime() - last_rx_check_) < RX_LOOP_WAIT) {
return;
}
last_rx_check_ = uuid::get_uptime();
//if ((uuid::get_uptime() - last_rx_check_) < RX_LOOP_WAIT) {
// return;
//}
//last_rx_check_ = uuid::get_uptime();
#endif
while (!rx_telegrams_.empty()) {