1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/mbed_lpc1768: Update to match timer_init API change

This commit is contained in:
Joakim Nohlgård 2015-10-04 00:25:15 +02:00
parent d556f89840
commit 13ba441054

View File

@ -34,7 +34,7 @@ extern "C" {
/* Timer 0 configuration */
#define TIMER_0_DEV LPC_TIM0
#define TIMER_0_CHANNELS 4
#define TIMER_0_PRESCALER (95U)
#define TIMER_0_FREQ (96000000ul)
#define TIMER_0_MAX_VALUE (0xffffffff)
#define TIMER_0_CLKEN() (LPC_SC->PCONP |= (1 << 1))
#define TIMER_0_CLKDIS() (LPC_SC->PCONP &= ~(1 << 1))