mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Remove unused lpc17_usbinitialize()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2915 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -144,16 +144,6 @@
|
|||||||
|
|
||||||
extern void weak_function lpc17_sspinitialize(void);
|
extern void weak_function lpc17_sspinitialize(void);
|
||||||
|
|
||||||
/************************************************************************************
|
|
||||||
* Name: lpc17_usbinitialize
|
|
||||||
*
|
|
||||||
* Description:
|
|
||||||
* Called to setup USB-related GPIO pins for the NUCLEUS-2G board.
|
|
||||||
*
|
|
||||||
************************************************************************************/
|
|
||||||
|
|
||||||
extern void weak_function lpc17_usbinitialize(void);
|
|
||||||
|
|
||||||
#endif /* __ASSEMBLY__ */
|
#endif /* __ASSEMBLY__ */
|
||||||
#endif /* _CONFIGS_NUCLEUS2G_SRC_NUCLEUS2G_INTERNAL_H */
|
#endif /* _CONFIGS_NUCLEUS2G_SRC_NUCLEUS2G_INTERNAL_H */
|
||||||
|
|
||||||
|
|||||||
@@ -101,18 +101,6 @@ void lpc17_boardinitialize(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Initialize USB if 1) USBDEV is selected, 2) the USB controller is not
|
|
||||||
* disabled, and 3) the weak function lpc17_usbinitialize() has been brought
|
|
||||||
* into the build.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#if defined(CONFIG_USBDEV) && defined(CONFIG_LPC17_USBDEV)
|
|
||||||
if (lpc17_usbinitialize)
|
|
||||||
{
|
|
||||||
lpc17_usbinitialize();
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Configure on-board LEDs if LED support has been selected. */
|
/* Configure on-board LEDs if LED support has been selected. */
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_LEDS
|
#ifdef CONFIG_ARCH_LEDS
|
||||||
|
|||||||
Reference in New Issue
Block a user