You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2020/04/15 15:30:16 UTC

[incubator-nuttx] 01/02: drivers/usbdev/usbmsc.c: Fix build error with DEBUGASSERT

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 <ju...@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);