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 05:36:16 UTC
[incubator-nuttx] 03/13: arch: cxd56xx: Rename to nxsem_set_protocol
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
commit 75b6a260e03524dcc29eafba1a72dd13b73c6849
Author: SPRESENSE <41...@users.noreply.github.com>
AuthorDate: Thu Jun 17 19:12:19 2021 +0900
arch: cxd56xx: Rename to nxsem_set_protocol
nxsem_setprotocol function name was changed to nxsem_set_protocol.
Replace and fix hostif compile error.
---
arch/arm/src/cxd56xx/cxd56_hostif.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/src/cxd56xx/cxd56_hostif.c b/arch/arm/src/cxd56xx/cxd56_hostif.c
index 1facd6c..1dac5b1 100644
--- a/arch/arm/src/cxd56xx/cxd56_hostif.c
+++ b/arch/arm/src/cxd56xx/cxd56_hostif.c
@@ -440,7 +440,7 @@ static int hif_initialize(struct hostif_buff_s *buffer)
cxd56_iccinit(CXD56_PROTO_HOSTIF);
nxsem_init(&drv->sync, 0, 0);
- nxsem_setprotocol(&drv->sync, SEM_PRIO_NONE);
+ nxsem_set_protocol(&drv->sync, SEM_PRIO_NONE);
ret = cxd56_iccregisterhandler(CXD56_PROTO_HOSTIF, hif_rxhandler, NULL);