fetch devices one by one

This commit is contained in:
MichaelDvP
2022-02-16 19:36:17 +01:00
parent 3b41d6fff6
commit 4219842088
3 changed files with 28 additions and 4 deletions

View File

@@ -399,6 +399,10 @@ class TxService : public EMSbus {
return tx_telegrams_;
}
bool tx_queue_empty() {
return tx_telegrams_.size() == 0;
}
#if defined(EMSESP_DEBUG)
static constexpr uint8_t MAXIMUM_TX_RETRIES = 0; // when compiled with EMSESP_DEBUG don't retry
#else