mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Eliminate use of apps/system/usbmonitor. Use drivers/usbmonitor instead.
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
#include <nuttx/board.h>
|
||||
|
||||
#ifdef CONFIG_USBMONITOR
|
||||
# include <apps/usbmonitor.h>
|
||||
# include <nuttx/usb/usbmonitor.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_STM32_OTGFS
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
#include <nuttx/board.h>
|
||||
|
||||
#ifdef CONFIG_USBMONITOR
|
||||
# include <apps/usbmonitor.h>
|
||||
# include <nuttx/usb/usbmonitor.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_STM32_OTGFS
|
||||
@@ -152,7 +152,7 @@ int stm32_bringup(void)
|
||||
#ifdef HAVE_USBMONITOR
|
||||
/* Start the USB Monitor */
|
||||
|
||||
ret = usbmonitor_start(0, NULL);
|
||||
ret = usbmonitor_start();
|
||||
if (ret != OK)
|
||||
{
|
||||
syslog(LOG_ERR,
|
||||
|
||||
Reference in New Issue
Block a user