Ticket #2378 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

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

Changed 4 years ago by khali

  • status changed from new to assigned
  • milestone set to 3.2.1

Changed 4 years ago by khali

  • status changed from assigned to closed
  • resolution set to fixed

Implemented in r5896 and r5897.

Note: See TracTickets for help on using tickets.