|
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
erpc/erpc_c/infra/erpc_crc16.cpp
Lines 32 to 38 in 60a3cc1
Maybe I am missing something.
Why can't the variables
crc,temp,andValue,xorValuebe uint32_t andbytebe uint8_t ?It makes things cleaner and I don't see it effects the algorithm