for ( uint32_t i = 0; i < DATA_CHANNEL_DEPTH; ++i ) | for ( uint32_t i = 0; i < DATA_CHANNEL_DEPTH; ++i ) | ||||
{ | { | ||||
data_channel_read(crc->base.sources[0], &crc_input.value); | |||||
data_channel_read(crc->base.sources[0], uint32_t(&crc_input.value)); | |||||
crc_res.value = crc32(0, (const void*)crc_input.value, sizeof(crc_input.value)); | crc_res.value = crc32(0, (const void*)crc_input.value, sizeof(crc_input.value)); | ||||