Missed one file in last commit

This commit is contained in:
Gregory Nutt 2015-08-24 14:30:58 -06:00
parent 01cfe8c315
commit fa9522da41
1 changed files with 7 additions and 0 deletions

View File

@ -44,6 +44,7 @@
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include <nuttx/board.h> #include <nuttx/board.h>
#include <nuttx/fs/fs.h> #include <nuttx/fs/fs.h>
#include <nuttx/net/loopback.h>
#include <arch/board/board.h> #include <arch/board/board.h>
@ -181,5 +182,11 @@ void up_initialize(void)
up_netinitialize(); up_netinitialize();
#endif #endif
#ifdef CONFIG_NETDEV_LOOPBACK
/* Initialize the local loopback device */
(void)localhost_initialize();
#endif
board_led_on(LED_IRQSENABLED); board_led_on(LED_IRQSENABLED);
} }