This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit c2ecdaecf7b32ad268cf9e65b437acb1bd4f45b2
Author: Juha Niskanen <juha.niska...@haltian.com>
AuthorDate: Wed Apr 15 08:27:20 2020 -0600

    drivers/usbdev/usbmsc.c:  Fix build error with DEBUGASSERT
---
 drivers/usbdev/usbmsc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usbdev/usbmsc.c b/drivers/usbdev/usbmsc.c
index a61a8b2..2d31a12 100644
--- a/drivers/usbdev/usbmsc.c
+++ b/drivers/usbdev/usbmsc.c
@@ -1856,7 +1856,7 @@ void usbmsc_uninitialize(FAR void *handle)
            * have no option but to continue with the teardown.
            */
 
-          DEBUGASSERT(ret == OK || ret == -ECANCLED);
+          DEBUGASSERT(ret == OK || ret == -ECANCELED);
         }
       while (ret < 0);
 

Reply via email to