diff options
Diffstat (limited to 'nuttx/configs/shenzhou/src/up_usb.c')
-rw-r--r-- | nuttx/configs/shenzhou/src/up_usb.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/configs/shenzhou/src/up_usb.c b/nuttx/configs/shenzhou/src/up_usb.c index 86af406cf..0ae1d8c52 100644 --- a/nuttx/configs/shenzhou/src/up_usb.c +++ b/nuttx/configs/shenzhou/src/up_usb.c @@ -2,7 +2,7 @@ * configs/shenzhou/src/up_usbdev.c * arch/arm/src/board/up_boot.c * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. + * Copyright (C) 2012-2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -53,6 +53,7 @@ #include "up_arch.h" #include "stm32.h" +#include "stm32_otgfs.h" #include "shenshou-internal.h" #ifdef CONFIG_STM32_OTGFS @@ -185,7 +186,7 @@ int stm32_usbhost_initialize(void) /* Then get an instance of the USB host interface */ uvdbg("Initialize USB host\n"); - g_drvr = usbhost_initialize(0); + g_drvr = stm32_otgfshost_initialize(0); if (g_drvr) { /* Start a thread to handle device connection. */ |