Eliminate use of apps/system/usbmonitor. Use drivers/usbmonitor instead.

This commit is contained in:
Gregory Nutt
2016-06-30 13:09:22 -06:00
parent 7c34a77b54
commit a897fd4ccf
27 changed files with 168 additions and 43 deletions
@@ -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,