From f1137b3b5590a84dcc0d5eb92af19266f69c5950 Mon Sep 17 00:00:00 2001 From: Alan Carvalho de Assis Date: Fri, 23 Feb 2024 21:32:39 -0300 Subject: [PATCH] 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 --- 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)