Changeset 104

Show
Ignore:
Timestamp:
12/23/98 01:25:53 (14 years ago)
Author:
frodo
Message:

Library/program updates.

YES! It now pretty-prints the LM75 and LM78 data.

Location:
lm-sensors/trunk
Files:
2 added
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/lib/access.c

    r103 r104  
    119119      (chip.bus == SENSORS_CHIP_NAME_BUS_ANY) || 
    120120      (chip.bus == SENSORS_CHIP_NAME_BUS_ANY_I2C) || 
    121       (chip.bus == SENSORS_CHIP_NAME_ADDR_ANY)) 
     121      (chip.addr == SENSORS_CHIP_NAME_ADDR_ANY)) 
    122122    return 1; 
    123123  else 
  • lm-sensors/trunk/prog/sensors/main.c

    r103 r104  
    181181    if (!strcmp(chip->prefix,"lm75")) 
    182182      print_lm75(chip); 
    183      printf("\n"); 
     183    else if (!strcmp(chip->prefix,"lm78") || !strcmp(chip->prefix,"lm78-j") || 
     184             !strcmp(chip->prefix,"lm79")) 
     185      print_lm78(chip); 
     186    printf("\n"); 
    184187  } 
    185188  exit(0);