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
+2 -2
View File
@@ -47,7 +47,7 @@
#include <debug.h>
#ifdef CONFIG_USBMONITOR
# include <apps/usbmonitor.h>
# include <nuttx/usb/usbmonitor.h>
#endif
#include <nuttx/fs/fs.h>
@@ -311,7 +311,7 @@ int sam_bringup(void)
#ifdef HAVE_USBMONITOR
/* Start the USB Monitor */
ret = usbmonitor_start(0, NULL);
ret = usbmonitor_start();
if (ret != OK)
{
_err("ERROR: Failed to start the USB monitor: %d\n", ret);