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

@@ -79,7 +79,7 @@ void i2c0_tx_start(void)
}
/* transmit data byte */
void i2c0_tx_byte(u8 byte)
void i2c0_tx_byte(uint8_t byte)
{
if (I2C0_CONSET & I2C_CONSET_STA) {
I2C0_CONCLR = I2C_CONCLR_STAC;
@@ -90,7 +90,7 @@ void i2c0_tx_byte(u8 byte)
}
/* receive data byte */
u8 i2c0_rx_byte(void)
uint8_t i2c0_rx_byte(void)
{
if (I2C0_CONSET & I2C_CONSET_STA) {
I2C0_CONCLR = I2C_CONCLR_STAC;