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/04/03 01:42:16 UTC
[incubator-nuttx] 02/02: drivers/1wire/1wire.c: Fix a typo that
caused a build failure.
This is an automated email from the ASF dual-hosted git repository.
gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit f438220555d356aee24455a026b1ee6960211aa6
Author: Ouss4 <ab...@gmail.com>
AuthorDate: Fri Apr 3 02:00:37 2020 +0100
drivers/1wire/1wire.c: Fix a typo that caused a build failure.
---
drivers/1wire/1wire.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/1wire/1wire.c b/drivers/1wire/1wire.c
index 3f86bf5..f5ecce9 100644
--- a/drivers/1wire/1wire.c
+++ b/drivers/1wire/1wire.c
@@ -251,7 +251,7 @@ int onewire_sem_wait(FAR struct onewire_master_s *master)
else
{
- ret = nxsem_wait(master->devsem.sem);
+ ret = nxsem_wait(&master->devsem.sem);
if (ret < 0)
{
return ret;