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 2021/06/16 11:40:06 UTC

[incubator-nuttx-apps] branch master updated: examples/qencoder: fix nxstyle warning and errors

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-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new aa79958  examples/qencoder: fix nxstyle warning and errors
aa79958 is described below

commit aa79958beafd8034e62b0ec13764dd8d2b6b8a06
Author: Michal Lenc <mi...@seznam.cz>
AuthorDate: Tue Jun 15 22:23:58 2021 +0200

    examples/qencoder: fix nxstyle warning and errors
    
    Signed-off-by: Michal Lenc <mi...@seznam.cz>
---
 examples/qencoder/qe_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/qencoder/qe_main.c b/examples/qencoder/qe_main.c
index 64cee93..84c9ba1 100644
--- a/examples/qencoder/qe_main.c
+++ b/examples/qencoder/qe_main.c
@@ -242,7 +242,7 @@ int main(int argc, FAR char *argv[])
     {
       printf("qe_main: open %s failed: %d\n", g_qeexample.devpath, errno);
       exitval = EXIT_FAILURE;
-      goto errout_with_dev;
+      goto errout;
     }
 
   /* Reset the count if so requested */