Marcel Moolenaar <marcel_at_xcllnt.net> writes: > The source code appears to be fishy. The variable v is never used. > It's only defined. If you change the "return mask" to a "return v", > the warning goes away. I suspect that there's a line missing: _at__at_ -548,4 +548,5 _at__at_ } DEB(printf("sv_mix_setrecsrc: mask 0x%08x adc_input 0x%02x\n", mask, v)); + sv_indirect_set(sc, SV_REG_ADC_INPUT, v); return mask; } although I have no way of testing this. DES -- Dag-Erling Smørgrav - des_at_des.noReceived on Thu Mar 18 2004 - 02:51:05 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:48 UTC