mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-01 14:17:59 +08:00
arm/lpc24xx/misc/system-clocks.c: Fix warning
This commit is contained in:
@@ -82,7 +82,7 @@ void lpc24xx_micro_seconds_delay(unsigned us)
|
||||
}
|
||||
|
||||
#ifdef ARM_MULTILIB_ARCH_V7M
|
||||
unsigned lpc17xx_sysclk(unsigned clksrcsel)
|
||||
static unsigned lpc17xx_sysclk(unsigned clksrcsel)
|
||||
{
|
||||
return (clksrcsel & LPC17XX_SCB_CLKSRCSEL_CLKSRC) != 0 ?
|
||||
LPC24XX_OSCILLATOR_MAIN
|
||||
|
||||
Reference in New Issue
Block a user