|
uint32_t crc = m_crcStart; |
|
uint32_t j; |
|
uint32_t i; |
|
uint32_t byte; |
|
uint32_t temp; |
|
const uint32_t andValue = 0x8000U; |
|
const uint32_t xorValue = 0x1021U; |
Maybe I am missing something.
Why can't the variables
crc,
temp,
andValue ,
xorValue be uint32_t and
byte be uint8_t ?
It makes things cleaner and I don't see it effects the algorithm