Fix USB host polling; fix a typo in LPC17 HCD

This commit is contained in:
Gregory Nutt 2015-04-23 07:13:31 -06:00
parent d5101f46ca
commit eccc8e1304

View File

@ -1,7 +1,7 @@
/****************************************************************************
* config/olimex-lpc1766stk/src/lpc17_nsh.c
*
* Copyright (C) 2010, 2013-2014 Gregory Nutt. All rights reserved.
* Copyright (C) 2010, 2013-2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@ -149,7 +149,7 @@ static int nsh_waiter(int argc, char *argv[])
/* Wait for the device to change state */
DEBUGVERIFY(CONN_WAIT(g_usbconn, &hport));
syslog(LOG_INFO, "%s\n", hport->connected ? "connected" : "disconnected");
syslog(LOG_INFO, "nsh_waiter: %s\n", hport->connected ? "connected" : "disconnected");
/* Did we just become connected? */