Show
Ignore:
Timestamp:
09/23/07 14:16:50 (6 years ago)
Author:
khali
Message:

Introduce a separate type for main features. Make subfeatures map to
the real main feature rather than the first subfeature.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/prog/sensors/chips.c

    r4837 r4838  
    436436        while ((feature = sensors_get_features(name, &i))) { 
    437437                switch (feature->type) { 
    438                 case SENSORS_SUBFEATURE_TEMP_INPUT: 
     438                case SENSORS_FEATURE_TEMP: 
    439439                        print_chip_temp(name, feature, label_size); 
    440440                        break; 
    441                 case SENSORS_SUBFEATURE_IN_INPUT: 
     441                case SENSORS_FEATURE_IN: 
    442442                        print_chip_in(name, feature, label_size); 
    443443                        break; 
    444                 case SENSORS_SUBFEATURE_FAN_INPUT: 
     444                case SENSORS_FEATURE_FAN: 
    445445                        print_chip_fan(name, feature, label_size); 
    446446                        break; 
    447                 case SENSORS_SUBFEATURE_VID: 
     447                case SENSORS_FEATURE_VID: 
    448448                        print_chip_vid(name, feature, label_size); 
    449449                        break; 
    450                 case SENSORS_SUBFEATURE_BEEP_ENABLE: 
     450                case SENSORS_FEATURE_BEEP_ENABLE: 
    451451                        print_chip_beep_enable(name, feature, label_size); 
    452452                        break;