projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d4aa91
)
better error message when reading calibration voltages from eeprom
author
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 1 Jan 2003 23:22:08 +0000
(23:22 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 1 Jan 2003 23:22:08 +0000
(23:22 +0000)
comedi_calibrate/cb.c
patch
|
blob
|
history
diff --git
a/comedi_calibrate/cb.c
b/comedi_calibrate/cb.c
index cbfafbac57b22c6d5123e6fb7b487fa502054d93..5cc599132e51aed246b32d678888b6efe68d1c11 100644
(file)
--- a/
comedi_calibrate/cb.c
+++ b/
comedi_calibrate/cb.c
@@
-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;
}