mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-28 12:40:42 +00:00
libsensors: Increase MAX_SENSORS_PER_TYPE to 33
This is needed to properly support all temperatures reported by the coretemp driver on recent hardware.
This commit is contained in:
1 parent
72b72f40fc
commit
2252b49e2b
2 files changed
+2
-1
No files matched your search
@@ -3,6 +3,7 @@ lm-sensors CHANGES file
|
||||
|
||||
SVN HEAD
|
||||
libsensors: Improve documentation of two functions
|
||||
Increase MAX_SENSORS_PER_TYPE to 33
|
||||
init: Fix EnvironmentFile in service files
|
||||
sensors-conf-convert: Add a manual page
|
||||
sensors-detect: Report built-in drivers as such
|
||||
|
||||
+1
-1
@@ -140,7 +140,7 @@ char sensors_sysfs_mount[NAME_MAX];
|
||||
|
||||
#define MAX_MAIN_SENSOR_TYPES (SENSORS_FEATURE_MAX_MAIN - SENSORS_FEATURE_IN)
|
||||
#define MAX_OTHER_SENSOR_TYPES (SENSORS_FEATURE_MAX_OTHER - SENSORS_FEATURE_VID)
|
||||
#define MAX_SENSORS_PER_TYPE 24
|
||||
#define MAX_SENSORS_PER_TYPE 33
|
||||
/* max_subfeatures is now computed dynamically */
|
||||
#define FEATURE_SIZE (max_subfeatures * 2)
|
||||
#define FEATURE_TYPE_SIZE (MAX_SENSORS_PER_TYPE * FEATURE_SIZE)
|
||||
|
||||
Reference in new issue
Block a user