Changed to use stdint types.

This commit is contained in:
Piotr Esden-Tempski
2013-06-12 19:11:22 -07:00
parent 7df63fcae0
commit 34de1e776e
127 changed files with 1886 additions and 1895 deletions

View File

@@ -49,7 +49,7 @@ computation is complete.
@returns int32 Computed CRC result
*/
u32 crc_calculate(u32 data)
uint32_t crc_calculate(uint32_t data)
{
CRC_DR = data;
/* Data sheet says this blocks until it's ready.... */
@@ -67,7 +67,7 @@ until the computation of each word is complete.
@returns int32 Final computed CRC result
*/
u32 crc_calculate_block(u32 *datap, int size)
uint32_t crc_calculate_block(uint32_t *datap, int size)
{
int i;