better error message when reading calibration voltages from eeprom
This commit is contained in:
parent
9d4aa91837
commit
32f85d18a9
1 changed files with 1 additions and 1 deletions
|
@ -1004,7 +1004,7 @@ int actual_source_voltage( comedi_t *dev, unsigned int subdevice, unsigned int e
|
|||
*voltage = eeprom8_to_source( byte );
|
||||
}else
|
||||
{
|
||||
perror( "actual_source_voltage(), maxdata invalid" );
|
||||
fprintf( stderr, "actual_source_voltage(), maxdata = 0x%x invalid", max_data );
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue