changed return type of interrupt handlers

This commit is contained in:
Markus Fröschle
2015-01-10 17:44:04 +00:00
parent b56f40fc98
commit df28a267da
6 changed files with 13 additions and 13 deletions

View File

@@ -1290,24 +1290,24 @@ static void fec_irq_handler(uint8_t ch)
* handler for FEC interrupts
* arg2 is a pointer to the nif in this case
*/
int fec0_interrupt_handler(void* arg1, void* arg2)
bool fec0_interrupt_handler(void* arg1, void* arg2)
{
(void) arg1; /* not used */
(void) arg2;
fec_irq_handler(0);
return 1;
return true; /* handled */
}
int fec1_interrupt_handler(void* arg1, void* arg2)
bool fec1_interrupt_handler(void* arg1, void* arg2)
{
(void) arg1; /* not used */
(void) arg2;
fec_irq_handler(1);
return 1;
return true; /* handled */
}
/*