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

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

commit 54d5def4d589b1c698a644b18f153d74276f02f3
Author: Xiang Xiao <xiaoxi...@xiaomi.com>
AuthorDate: Tue Nov 24 16:21:59 2020 +0800

    examples/chrono: Fix error: 'CONFIG_EXAMPLES_SLCD_DEVNAME' undeclared
    
    Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com>
    Change-Id: I04c09878ec55cbf910159ab84e0b402cc94dad9b
---
 examples/chrono/chrono_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/chrono/chrono_main.c b/examples/chrono/chrono_main.c
index 557f45f..bfa0e17 100644
--- a/examples/chrono/chrono_main.c
+++ b/examples/chrono/chrono_main.c
@@ -334,7 +334,7 @@ int main(int argc, FAR char *argv[])
   fd = open(SLCD_DEVNAME, O_RDWR);
   if (fd < 0)
     {
-      printf("Failed to open %s: %d\n", CONFIG_EXAMPLES_SLCD_DEVNAME, errno);
+      printf("Failed to open %s: %d\n", SLCD_DEVNAME, errno);
       goto errout;
     }
 

Reply via email to