diff options
Diffstat (limited to 'chip/lm4')
-rw-r--r-- | chip/lm4/adc.c | 2 | ||||
-rw-r--r-- | chip/lm4/i2c.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chip/lm4/adc.c b/chip/lm4/adc.c index c06ce35df3..008288e520 100644 --- a/chip/lm4/adc.c +++ b/chip/lm4/adc.c @@ -189,7 +189,7 @@ static void handle_interrupt(int ss) /* Wake up the task which was waiting on the interrupt, if any */ if (id != TASK_ID_INVALID) - task_set_event(id, TASK_EVENT_ADC_DONE, 0); + task_set_event(id, TASK_EVENT_ADC_DONE); } void ss0_interrupt(void) { handle_interrupt(0); } diff --git a/chip/lm4/i2c.c b/chip/lm4/i2c.c index ac4456980d..70177df28f 100644 --- a/chip/lm4/i2c.c +++ b/chip/lm4/i2c.c @@ -393,7 +393,7 @@ static void handle_interrupt(int port) /* If done doing work, wake up the task waiting for the transfer */ if (!i2c_do_work(port)) - task_set_event(id, TASK_EVENT_I2C_IDLE, 0); + task_set_event(id, TASK_EVENT_I2C_IDLE); } void i2c0_interrupt(void) { handle_interrupt(0); } |