mirror of
https://github.com/esphome/esphome.git
synced 2025-01-18 12:05:41 +00:00
[core] fix comment for crc8 function in helpers.h (#8016)
This commit is contained in:
parent
f3ebb4eb39
commit
d8c943972b
@ -163,7 +163,7 @@ template<typename T, typename U> T remap(U value, U min, U max, T min_out, T max
|
||||
return (value - min) * (max_out - min_out) / (max - min) + min_out;
|
||||
}
|
||||
|
||||
/// Calculate a CRC-8 checksum of \p data with size \p len.
|
||||
/// Calculate a CRC-8 checksum of \p data with size \p len using the CRC-8-Dallas/Maxim polynomial.
|
||||
uint8_t crc8(const uint8_t *data, uint8_t len);
|
||||
|
||||
/// Calculate a CRC-16 checksum of \p data with size \p len.
|
||||
|
Loading…
Reference in New Issue
Block a user