[moxa/src] Pass interface number to the ftmac100_initialize
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
This commit is contained in:
parent
2c12bc56ac
commit
037332cafe
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user