mirror of
https://github.com/esphome/esphome.git
synced 2024-11-26 17:05:21 +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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue