From: Frank Mori Hess Date: Tue, 20 May 2003 15:09:01 +0000 (+0000) Subject: fix assignments that should have been equality tests X-Git-Tag: r0_7_21~149 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=b277b8dda25f6f63005a81729d6eee40688949ed;p=comedilib.git fix assignments that should have been equality tests --- diff --git a/comedi_calibrate/ni.c b/comedi_calibrate/ni.c index 1503681..12e01af 100644 --- a/comedi_calibrate/ni.c +++ b/comedi_calibrate/ni.c @@ -170,12 +170,12 @@ static inline unsigned int ni_ao_unip_linearity( unsigned int channel ) static const int num_ao_observables_611x = 4; static int ni_ao_zero_offset_611x( const calibration_setup_t *setup, unsigned int channel, unsigned int range ) { - assert( range = 0 ); + assert( range == 0 ); return 2 * channel; }; static int ni_ao_reference_611x( const calibration_setup_t *setup, unsigned int channel, unsigned int range ) { - assert( range = 0 ); + assert( range == 0 ); return 2 * channel + 1; }; static int ni_zero_offset_611x( const calibration_setup_t *setup,