added some DPRINT's to ni_labpc calibration so there is some indication
authorFrank Mori Hess <fmhess@speakeasy.net>
Fri, 9 May 2003 00:04:12 +0000 (00:04 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Fri, 9 May 2003 00:04:12 +0000 (00:04 +0000)
it is doing something

comedi_calibrate/ni_labpc.c

index 15adfb4aea36c61e7af11de19f7c6aed7d9871f0..e89db38efe32ca6ef835207d470c002826184011 100644 (file)
@@ -161,6 +161,8 @@ static void labpc_grab_ai_calibration( calibration_setup_t *setup, unsigned int
        sc_push_channel( current_cal, SC_ALL_CHANNELS );
        sc_push_range( current_cal, range );
        sc_push_aref( current_cal, SC_ALL_AREFS );
+
+       DPRINT( 0, "loaded adc range %i calibration from eeprom\n", range );
 }
 
 static int ao_offset_index( unsigned int channel )
@@ -216,6 +218,9 @@ static void labpc_grab_ao_calibration( calibration_setup_t *setup,
        sc_push_channel( current_cal, channel );
        sc_push_range( current_cal, range );
        sc_push_aref( current_cal, SC_ALL_AREFS );
+
+       DPRINT( 0, "loaded dac channel %i range %i calibration from eeprom\n",
+               channel, range );
 }