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 2022/11/23 10:20:37 UTC

[incubator-nuttx] branch master updated: stm32f7/stm32_bbsram.c: Fix build error due to changed include path

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


The following commit(s) were added to refs/heads/master by this push:
     new 321b9ea732 stm32f7/stm32_bbsram.c: Fix build error due to changed include path
321b9ea732 is described below

commit 321b9ea732bb7ffce65dd7a5e5aa2cc6eb6022d3
Author: Ville Juven <vi...@unikie.com>
AuthorDate: Wed Nov 23 10:35:17 2022 +0200

    stm32f7/stm32_bbsram.c: Fix build error due to changed include path
    
    Use correct path to include mutex.h
    
    Fixes:
    
    chip/stm32_bbsram.c:42:10: fatal error: mutex.h: No such file or directory
       42 | #include <mutex.h>
          |          ^~~~~~~~~
---
 arch/arm/src/stm32f7/stm32_bbsram.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/src/stm32f7/stm32_bbsram.c b/arch/arm/src/stm32f7/stm32_bbsram.c
index c6f912ede5..7727ebd625 100644
--- a/arch/arm/src/stm32f7/stm32_bbsram.c
+++ b/arch/arm/src/stm32f7/stm32_bbsram.c
@@ -39,7 +39,7 @@
 #include <errno.h>
 #include <unistd.h>
 #include <time.h>
-#include <mutex.h>
+#include <nuttx/mutex.h>
 #include <nuttx/fs/fs.h>
 #include <nuttx/crc32.h>