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 2024/02/24 03:21:44 UTC
(nuttx-apps) branch master updated: apps: Make /dev/temp0 as default to system/lm75
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-apps.git
The following commit(s) were added to refs/heads/master by this push:
new f1137b3b5 apps: Make /dev/temp0 as default to system/lm75
f1137b3b5 is described below
commit f1137b3b5590a84dcc0d5eb92af19266f69c5950
Author: Alan Carvalho de Assis <ac...@gmail.com>
AuthorDate: Fri Feb 23 21:32:39 2024 -0300
apps: Make /dev/temp0 as default to system/lm75
The stm32 common logic board uses /dev/temp0 as
default, but system/lm75/lm75.c is trying to
open /dev/temp instead
Signed-off-by: Alan C Assis <ac...@gmail.com>
---
system/lm75/lm75.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/system/lm75/lm75.c b/system/lm75/lm75.c
index 9edb8f2f0..3414785f2 100644
--- a/system/lm75/lm75.c
+++ b/system/lm75/lm75.c
@@ -41,7 +41,7 @@
#ifndef CONFIG_SYSTEM_LM75_DEVNAME
# warning CONFIG_SYSTEM_LM75_DEVNAME is not defined
-# define CONFIG_SYSTEM_LM75_DEVNAME "/dev/temp"
+# define CONFIG_SYSTEM_LM75_DEVNAME "/dev/temp0"
#endif
#if !defined(CONFIG_SYSTEM_LM75_FAHRENHEIT) && !defined(CONFIG_SYSTEM_LM75_CELSIUS)