From 74cd9484708acc2fccb2e827c9da96ec4f7e4df8 Mon Sep 17 00:00:00 2001 From: Wim Date: Tue, 27 Jan 2015 20:48:51 +0100 Subject: [PATCH] Update system_LPC8xx.h Added extern MainClock to allow the use of the PLL and correct the wrong clock source for serial_api.c --- .../mbed/targets/cmsis/TARGET_NXP/TARGET_LPC81X/system_LPC8xx.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC81X/system_LPC8xx.h b/libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC81X/system_LPC8xx.h index f559e944c6..c392f2a4a7 100644 --- a/libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC81X/system_LPC8xx.h +++ b/libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC81X/system_LPC8xx.h @@ -30,6 +30,8 @@ extern "C" { #include +//WH +extern uint32_t MainClock; /*!< Main Clock Frequency */ extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */