You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/07/04 04:20:38 UTC

[incubator-nuttx-apps] branch master updated (7b074bc -> 0dc9be9)

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

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


    from 7b074bc  netutils/ftpc: ftpc_connect: Fixed invalid socket close.
     new 95aece0  graphics/pdcurs34: Fix compile error
     new 0dc9be9  graphics/pdcurs34: Fix a compile warning

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 graphics/pdcurs34/nuttx/pdcdisp.c | 2 +-
 graphics/pdcurs34/nuttx/pdcscrn.c | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

[incubator-nuttx-apps] 02/02: graphics/pdcurs34: Fix a compile warning

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 0dc9be95967a952b8d96ff25fa9ef7fc0235fa81
Author: SPRESENSE <41...@users.noreply.github.com>
AuthorDate: Sun Jul 4 09:13:29 2021 +0900

    graphics/pdcurs34: Fix a compile warning
    
    Fix a compile warning when CONFIG_PDCURSES_MULTITHREAD=n.
---
 graphics/pdcurs34/nuttx/pdcscrn.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/graphics/pdcurs34/nuttx/pdcscrn.c b/graphics/pdcurs34/nuttx/pdcscrn.c
index bddf38c..90384f8 100644
--- a/graphics/pdcurs34/nuttx/pdcscrn.c
+++ b/graphics/pdcurs34/nuttx/pdcscrn.c
@@ -207,7 +207,9 @@ static int PDC_scr_open_term(int argc, char **argv)
     {
       /* Free the memory ... can't open input */
 
+#ifdef CONFIG_PDCURSES_MULTITHREAD
       PDC_ctx_free();
+#endif
       free(termscreen);
     }
 #endif

[incubator-nuttx-apps] 01/02: graphics/pdcurs34: Fix compile error

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 95aece012aed0ac544c6fb7629f06f7f33648f63
Author: SPRESENSE <41...@users.noreply.github.com>
AuthorDate: Sun Jul 4 09:13:18 2021 +0900

    graphics/pdcurs34: Fix compile error
    
    Fix a compile error when CONFIG_SYSTEM_TERMCURSES=y.
---
 graphics/pdcurs34/nuttx/pdcdisp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphics/pdcurs34/nuttx/pdcdisp.c b/graphics/pdcurs34/nuttx/pdcdisp.c
index d35dbb7..12d5227 100644
--- a/graphics/pdcurs34/nuttx/pdcdisp.c
+++ b/graphics/pdcurs34/nuttx/pdcdisp.c
@@ -838,7 +838,7 @@ static void PDC_transform_line_term(FAR SCREEN *s, int lineno, int x,
 
   /* Move to the specified line / col */
 
-  PDC_gotoyx_term(sp, lineno, x);
+  PDC_gotoyx_term(s, lineno, x);
 
   /* Loop through all characters to be displayed */