diff options
author | Álvaro Neira Ayuso <anayuso@sysmocom.de> | 2014-02-27 12:30:16 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-03-05 15:03:05 +0100 |
commit | 20f542280330d1181d04ea34ef876358f710d6c8 (patch) | |
tree | ec4885039873c2dd4bfc9241747b2446ef50ba0b | |
parent | e5bda88c9d7ccfdd7941ba5270701e9f5449e348 (diff) |
src/misc/sysmobts_misc: Fixed wrong TEMP_PATH
Before, this patch the program tried to read the info
of the temperature sensor from a wrong location.
Signed-off-by: Alvaro Neira Ayuso <anayuso@sysmocom.de>
-rw-r--r-- | src/osmo-bts-sysmo/misc/sysmobts_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-sysmo/misc/sysmobts_misc.c b/src/osmo-bts-sysmo/misc/sysmobts_misc.c index 74414d08..c043045a 100644 --- a/src/osmo-bts-sysmo/misc/sysmobts_misc.c +++ b/src/osmo-bts-sysmo/misc/sysmobts_misc.c @@ -45,7 +45,7 @@ * Temperature handling *********************************************************************/ -#define TEMP_PATH "/sys/class/hwmon/hwmon0/device%u_%s" +#define TEMP_PATH "/sys/class/hwmon/hwmon0/device/temp%u_%s" static const char *temp_type_str[_NUM_TEMP_TYPES] = { [SYSMOBTS_TEMP_INPUT] = "input", |