mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
Unix domain: More fixed to build without Ethernet or Slip
This commit is contained in:
@@ -117,7 +117,7 @@ void up_idle(void)
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef CONFIG_NET
|
||||
#ifdef CONFIG_NET_ETHERNET
|
||||
/* Run the network if enabled */
|
||||
|
||||
netdriver_loop();
|
||||
|
||||
@@ -158,7 +158,7 @@ void up_initialize(void)
|
||||
up_registerblockdevice(); /* Our FAT ramdisk at /dev/ram0 */
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NET
|
||||
#ifdef CONFIG_NET_ETHERNET
|
||||
netdriver_init(); /* Our "real" network driver */
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user