mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
[moxa/src] Pass interface number to the ftmac100_initialize
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user