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:39 UTC

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

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 */