Increase MAX_SENSORS_PER_TYPE to 24. The old value of 20 isn't enough

at least for the W83795G, which has up to 21 voltage inputs.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5826 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2010-02-23 13:29:05 +00:00
1 parent ab9f0fed69
commit 5fe10beeda
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -2,6 +2,7 @@ lm-sensors CHANGES file
-----------------------
SVN HEAD
libsensors: Increase MAX_SENSORS_PER_TYPE to 24
sensors-detect: Give udev time to settle before accessing i2c nodes
Add support for Intel PCH (SMBus)
+1 -1
View File
@@ -136,7 +136,7 @@ static int sysfs_foreach_busdev(const char *bus_type,
char sensors_sysfs_mount[NAME_MAX];
#define MAX_SENSORS_PER_TYPE 20
#define MAX_SENSORS_PER_TYPE 24
#define MAX_SUBFEATURES 8
#define MAX_SENSOR_TYPES 6
/* Room for all 5 types (in, fan, temp, power, energy) with all their