[moxa/src] Pass interface number to the ftmac100_initialize

Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
This commit is contained in:
Anton D. Kachalov 2015-07-29 08:50:17 +03:00
parent 2c12bc56ac
commit 037332cafe
2 changed files with 3 additions and 3 deletions

View File

@ -67,11 +67,11 @@
*
****************************************************************************/
#ifdef CONFIG_BOARD_INITIALIZE
extern int ftmac100_initialize(void);
extern int ftmac100_initialize(int intf);
void board_initialize(void)
{
/* Perform board-specific initialization */
ftmac100_initialize();
ftmac100_initialize(0);
}
#endif

View File

@ -73,7 +73,7 @@ int board_app_initialize(void)
{
#ifndef CONFIG_BOARD_INITIALIZE
/* Perform board-specific initialization */
ftmac100_initialize();
ftmac100_initialize(0);
#endif
return OK;
}