From: Nathael Pajani Date: Wed, 26 Oct 2016 23:47:19 +0000 (+0200) Subject: Small typo fix : use the same notation as for the rest of the function X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=b6285cd60544238bb3c2ae5558ca39d0b35e0170;p=soft%2Flpc122x%2Fcore Small typo fix : use the same notation as for the rest of the function --- diff --git a/drivers/countertimers.c b/drivers/countertimers.c index eb678d6..4c3eea2 100644 --- a/drivers/countertimers.c +++ b/drivers/countertimers.c @@ -352,7 +352,7 @@ int countertimer_on(uint8_t timer_num, uint32_t clkrate, void (*callback)(uint32 } timer->regs->prescale = prescale; - NVIC_EnableIRQ(countertimers[timer_num].irq); + NVIC_EnableIRQ( timer->irq ); return 0; }