You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/01/03 02:36:20 UTC

[incubator-nuttx] branch pr30 updated: fix modem/altair semaphore related compiler warning

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

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


The following commit(s) were added to refs/heads/pr30 by this push:
     new 923f546  fix modem/altair semaphore related compiler warning
     new b1fe3c2  Merge pull request #30 from xiaoxiang781216/fix-modem-altair
923f546 is described below

commit 923f546918b7a618296f4870a54ba935ebb3d115
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Fri Jan 3 10:11:36 2020 +0800

    fix modem/altair semaphore related compiler warning
    
    Change-Id: Icfb7af6f1e31397dcadf3e652590cd2a55dc96a7
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 boards/arm/cxd56xx/spresense/configs/lte/defconfig | 1 -
 drivers/modem/altair/altmdm_sys.c                  | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/boards/arm/cxd56xx/spresense/configs/lte/defconfig b/boards/arm/cxd56xx/spresense/configs/lte/defconfig
index 987f31e..619f59f 100644
--- a/boards/arm/cxd56xx/spresense/configs/lte/defconfig
+++ b/boards/arm/cxd56xx/spresense/configs/lte/defconfig
@@ -71,7 +71,6 @@ CONFIG_SDCLONE_DISABLE=y
 CONFIG_SMARTFS_ALIGNED_ACCESS=y
 CONFIG_SMARTFS_MAXNAMLEN=30
 CONFIG_SMARTFS_MULTI_ROOT_DIRS=y
-CONFIG_SPI=y
 CONFIG_SPRESENSE_EXTENSION=y
 CONFIG_START_DAY=6
 CONFIG_START_MONTH=12
diff --git a/drivers/modem/altair/altmdm_sys.c b/drivers/modem/altair/altmdm_sys.c
index f4cb8e4..1cad10c 100644
--- a/drivers/modem/altair/altmdm_sys.c
+++ b/drivers/modem/altair/altmdm_sys.c
@@ -40,6 +40,7 @@
 #include <errno.h>
 #include <debug.h>
 #include <nuttx/irq.h>
+#include <nuttx/semaphore.h>
 #include <signal.h>
 
 #include "altmdm_dev.h"