comedi_insn *insn, lsampl_t *data)
{
int n;
- u8 bits;
+ u8 bits = 0;
dt9812_digital_in(devpriv->slot, &bits);
for(n = 0 ; n < insn->n ; n++){
comedi_insn *insn, lsampl_t *data)
{
int n;
- u8 bits;
+ u8 bits = 0;
dt9812_digital_out_shadow(devpriv->slot, &bits);
for(n = 0 ; n < insn->n ; n++){
int n;
for(n = 0 ; n < insn->n ; n++){
- u16 value;
+ u16 value = 0;
dt9812_analog_in(devpriv->slot, insn->chanspec, &value, DT9812_GAIN_1);
data[n] = value;
int n;
for(n = 0 ; n < insn->n ; n++){
- u16 value;
+ u16 value = 0;
dt9812_analog_out_shadow(devpriv->slot, insn->chanspec, &value);
data[n] = value;
*/
static int pcl812_ai_cmd(comedi_device *dev,comedi_subdevice *s)
{
- unsigned int divisor1, divisor2, i, dma_flags, bytes;
+ unsigned int divisor1=0, divisor2=0, i, dma_flags, bytes;
comedi_cmd *cmd=&s->async->cmd;
#ifdef PCL812_EXTDEBUG