sums the bytes in the supplied buffer, returns that sum mod 256 (i.e. shoved into a uint8_t)
| 657 | // sums the bytes in the supplied buffer, returns that sum mod 256 |
| 658 | // (i.e. shoved into a uint8_t) |
| 659 | uint8_t crc_sum_of_bytes(const uint8_t *data, uint16_t count) |
| 660 | { |
| 661 | return crc_sum_of_bytes_16(data, count) & 0xFF; |
| 662 | } |
no test coverage detected