You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just noticed there is a bug in the checkCRC function.
The last line should be:
return (received_crc == calculated_crc);
and not:
return (received_crc = calculated_crc);
Otherwise the function always returns true regardless of whether the CRC is correct or not.
Regards.
The text was updated successfully, but these errors were encountered:
Hi,
I just noticed there is a bug in the checkCRC function.
The last line should be:
return (received_crc == calculated_crc);
and not:
return (received_crc = calculated_crc);
Otherwise the function always returns true regardless of whether the CRC is correct or not.
Regards.
The text was updated successfully, but these errors were encountered: