Show
Ignore:
Timestamp:
12/01/07 11:41:36 (4 years ago)
Author:
khali
Message:

sensors: Hide spurious errors on missing adm1026 inputs.

Files:
1 modified

Legend:

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

    r5014 r5052  
    48504850               cur,min,max,(alarms&adm1026_alarms_in[i])?"ALARM":""); 
    48514851      } 
    4852     } else { 
     4852    } else if (i != 8 && i != 9) { /* in8 and in9 are mutually exclusive 
     4853                                      with temp3 */ 
    48534854      printf("ERROR: Can't get IN%d data!\n",i); 
    48544855    } 
     
    48984899        puts( (alarms&adm1026_alarms_temp[i])?"   ALARM":"" ); 
    48994900      } 
    4900     } else { 
     4901    } else if (i != 2) { /* temp3 is mutually exclusive with in8+in9 */ 
    49014902      printf("ERROR: Can't get TEMP%d data!\n",i+1); 
    49024903    }