mirror of
https://github.com/esphome/esphome.git
synced 2024-12-19 16:07:47 +01: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:
parent
5cb0c11feb
commit
c399905675
@ -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_);
|
||||||
|
Loading…
Reference in New Issue
Block a user