Fixed typo: 'lenght' in ns_crc.h

Note that the word 'lenght' is wrong,
so that 'lenght' should been replaced with 'length'.
pull/12444/head
David Lin 2020-02-16 18:31:22 +08:00 committed by GitHub
parent 3d038e55ee
commit 1df601dea0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ uint16_t crc16_ccitt(uint8_t *message, int nBytes);
/**
* @param data data which crc will be calculate
* @param data_length Lenght of data pointer
* @param data_length Length of data pointer
* @param polynomial Polynomial which will be used to calculate CRC, POLYNOMIAL_CRC15_CCIT, POLYNOMIAL_CRC15_ANSI
* @return Calculated 16bit CRC value
*/