mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-05-02 20:16:59 +00:00
remove poll check
This commit is contained in:
@@ -1601,9 +1601,8 @@ void EMSESP::incoming_telegram(uint8_t * data, const uint8_t length) {
|
||||
connect_time = uuid::get_uptime_sec();
|
||||
}
|
||||
|
||||
// this could also be by coincidence, so we should add a counter to the EMSbus class to check if the poll_id is the same as the EMS_BUS_ID for a certain number of times
|
||||
if (poll_id == EMSbus::ems_bus_id()) {
|
||||
EMSbus::poll_matched(uuid::get_uptime());
|
||||
EMSbus::last_bus_activity(uuid::get_uptime()); // set the flag indication the EMS bus is active
|
||||
}
|
||||
|
||||
if (wait_km_) {
|
||||
|
||||
Reference in New Issue
Block a user