mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 06:42:32 +08:00
up_internal.h: Define out the prototype for up_netinitialize() if CONFIG_NETDEV_LATEINIT is also defined
This commit is contained in:
@@ -343,7 +343,7 @@ void xtensa_timer_initialize(void);
|
||||
|
||||
/* Network */
|
||||
|
||||
#ifdef CONFIG_NET
|
||||
#if defined(CONFIG_NET) && !defined(CONFIG_NETDEV_LATEINIT)
|
||||
void up_netinitialize(void);
|
||||
#else
|
||||
# define up_netinitialize()
|
||||
|
||||
Reference in New Issue
Block a user