diff options
Diffstat (limited to 'lib/lpc176x')
-rw-r--r-- | lib/lpc176x/device/system_LPC17xx.c | 2 | ||||
-rw-r--r-- | lib/lpc176x/lpc176x.patch | 9 |
2 files changed, 1 insertions, 10 deletions
diff --git a/lib/lpc176x/device/system_LPC17xx.c b/lib/lpc176x/device/system_LPC17xx.c index 10fa43da..c4e56121 100644 --- a/lib/lpc176x/device/system_LPC17xx.c +++ b/lib/lpc176x/device/system_LPC17xx.c @@ -511,7 +511,7 @@ uint32_t SystemCoreClock = __CORE_CLK;/*!< System Clock Frequency (Core Clock)*/ * @brief Setup the microcontroller system. * Initialize the System. */ -void __attribute__((externally_visible)) SystemInit (void) +void SystemInit (void) { #if (CLOCK_SETUP) /* Clock Setup */ LPC_SC->SCS = SCS_Val; diff --git a/lib/lpc176x/lpc176x.patch b/lib/lpc176x/lpc176x.patch index f8995d3f..00babe91 100644 --- a/lib/lpc176x/lpc176x.patch +++ b/lib/lpc176x/lpc176x.patch @@ -28,12 +28,3 @@ #define PCLKSEL0_Val 0x00000000 #define PCLKSEL1_Val 0x00000000 -@@ -514,7 +511,7 @@ - * @brief Setup the microcontroller system. - * Initialize the System. - */ --void SystemInit (void) -+void __attribute__((externally_visible)) SystemInit (void) - { - #if (CLOCK_SETUP) /* Clock Setup */ - LPC_SC->SCS = SCS_Val; |