From 67ee3b39140b1b7c7c152ba732460ec21d3f4501 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Fri, 9 May 2003 00:04:12 +0000 Subject: [PATCH] added some DPRINT's to ni_labpc calibration so there is some indication it is doing something --- comedi_calibrate/ni_labpc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/comedi_calibrate/ni_labpc.c b/comedi_calibrate/ni_labpc.c index 15adfb4..e89db38 100644 --- a/comedi_calibrate/ni_labpc.c +++ b/comedi_calibrate/ni_labpc.c @@ -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 ); }