1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

[Teleinfo] do not stop parsing frame if there is only a CRC error (#1999)

Co-authored-by: Stephane Angot <s.angot@meetic-corp.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
St4n
2021-07-14 11:21:39 +02:00
committed by GitHub
parent 5cb0c11feb
commit c399905675

View File

@@ -120,7 +120,7 @@ void TeleInfo::loop() {
} }
if (!check_crc_(buf_finger, grp_end)) if (!check_crc_(buf_finger, grp_end))
break; continue;
/* Get tag */ /* Get tag */
field_len = get_field(tag_, buf_finger, grp_end, separator_); field_len = get_field(tag_, buf_finger, grp_end, separator_);