From b6285cd60544238bb3c2ae5558ca39d0b35e0170 Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Thu, 27 Oct 2016 01:47:19 +0200 Subject: [PATCH] Small typo fix : use the same notation as for the rest of the function --- drivers/countertimers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.43.0