prevent multiple reading of long messages with no offset

This commit is contained in:
MichaelDvP
2021-05-10 13:40:11 +02:00
parent 37bee39cea
commit 312fd85469
3 changed files with 8 additions and 3 deletions

View File

@@ -283,7 +283,7 @@ class TxService : public EMSbus {
void retry_tx(const uint8_t operation, const uint8_t * data, const uint8_t length);
bool is_last_tx(const uint8_t src, const uint8_t dest) const;
uint16_t post_send_query();
uint16_t read_next_tx();
uint16_t read_next_tx(uint8_t offset);
uint8_t retry_count() const {
return retry_count_;