From f8212e6295b36d5228d0c42f77c34e56df3df11d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Nohlg=C3=A5rd?= Date: Sun, 4 Oct 2015 00:26:59 +0200 Subject: [PATCH] boards/weio: Update to match timer_init API change --- boards/weio/include/periph_conf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/weio/include/periph_conf.h b/boards/weio/include/periph_conf.h index dbcc20ab24..f1a293ea3d 100644 --- a/boards/weio/include/periph_conf.h +++ b/boards/weio/include/periph_conf.h @@ -42,7 +42,7 @@ extern "C" { /* Timer 0 configuration */ #define TIMER_0_DEV LPC_CT32B1 #define TIMER_0_CHANNELS 4 -#define TIMER_0_PRESCALER (48U) +#define TIMER_0_FREQ (48000000ul) #define TIMER_0_MAX_VALUE (0xffffffff) #define TIMER_0_CLKEN() (LPC_SYSCON->SYSAHBCLKCTRL |= (1 << 10)) #define TIMER_0_CLKDIS() (LPC_SYSCON->SYSAHBCLKCTRL &= ~(1 << 10))