Ticket #2378 (closed enhancement: fixed)
Avoid hard-coding limits
| Reported by: | khali | Owned by: | khali |
|---|---|---|---|
| Priority: | minor | Milestone: | 3.3.0 |
| Component: | libsensors | Version: | 3.1.2 |
| Keywords: | Cc: |
Description
It would be great if MAX_SUBFEATURES and MAX_SENSOR_TYPES didn't have to be hard-coded. It should be possible to compute them dynamically from the matches array and sub-arrays, after some cleanups (most notably in the handling of cpu[0-*]_vid files.)
Change History
Note: See
TracTickets for help on using
tickets.
