Fix warning about E53_IA1.c with 'array subscript has type char'.
This commit is contained in:
@@ -91,7 +91,7 @@ uint8_t SHT3x_CheckCrc(char data[], char nbrOfBytes, char checksum)
|
|||||||
|
|
||||||
char crc = 0xFF;
|
char crc = 0xFF;
|
||||||
char bit = 0;
|
char bit = 0;
|
||||||
char byteCtr ;
|
unsigned char byteCtr;
|
||||||
|
|
||||||
//calculates 8-Bit checksum with given polynomial
|
//calculates 8-Bit checksum with given polynomial
|
||||||
for(byteCtr = 0; byteCtr < nbrOfBytes; ++byteCtr)
|
for(byteCtr = 0; byteCtr < nbrOfBytes; ++byteCtr)
|
||||||
|
Reference in New Issue
Block a user