Explicitly add void to the argument list of zero argument functions.

This commit is contained in:
László Monda
2017-09-28 03:03:11 +02:00
parent ecf1ad2468
commit 751810ec4c
36 changed files with 49 additions and 50 deletions

View File

@@ -46,7 +46,7 @@ static void i2cSlaveCallback(I2C_Type *base, i2c_slave_transfer_t *xfer, void *u
prevEvent = xfer->event;
}
void InitInterruptPriorities()
void InitInterruptPriorities(void)
{
NVIC_SetPriority(I2C0_IRQn, 1);
NVIC_SetPriority(TPM1_IRQn, 1);