Unix domain: More fixed to build without Ethernet or Slip

This commit is contained in:
Gregory Nutt 2015-01-27 14:26:10 -06:00
parent 9b5fe1e446
commit af612f6fad
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ void up_idle(void)
#endif
#ifdef CONFIG_NET
#ifdef CONFIG_NET_ETHERNET
/* Run the network if enabled */
netdriver_loop();

View File

@ -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