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/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new f142d04b91 arch: cxd56xx: Fix compile error of cxd56_gnss.c
f142d04b91 is described below

commit f142d04b91080cc627283b6340c0f428397e49f3
Author: SPRESENSE <41312067+sprese...@users.noreply.github.com>
AuthorDate: Tue Nov 19 14:31:08 2024 +0900

    arch: cxd56xx: Fix compile error of cxd56_gnss.c
    
    Fix error: 'g_rtc_enabled' undeclared (first use in this function).
---
 arch/arm/src/cxd56xx/cxd56_gnss.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/src/cxd56xx/cxd56_gnss.c 
b/arch/arm/src/cxd56xx/cxd56_gnss.c
index 4a05e476b0..ab85bab183 100644
--- a/arch/arm/src/cxd56xx/cxd56_gnss.c
+++ b/arch/arm/src/cxd56xx/cxd56_gnss.c
@@ -40,6 +40,7 @@
 #include <nuttx/signal.h>
 #include <nuttx/fs/fs.h>
 #include <nuttx/spi/spi.h>
+#include <nuttx/arch.h>
 
 #include <arch/chip/gnss.h>
 #include <arch/chip/pm.h>

Reply via email to