[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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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_);