struct comedi_subdevice * s, struct comedi_insn * insn, unsigned int * data)
{
int i_ReturnValue = 0;
- DWORD dw_IntRegister;
+ unsigned int dw_IntRegister;
unsigned char b_ModulNbr;
unsigned char b_PulseEncoderNbr;
| (1UL
<<
b_PulseEncoderNbr);
- devpriv->tsk_Current = current; // Save the current process task structure
+ devpriv->tsk_Current = current; /* Save the current process task structure */
}
(64 * b_ModulNbr));
break;
- } // switch End
+ } /* switch End */
} else {
/*********************************/
struct comedi_subdevice * s, struct comedi_insn * insn, unsigned int * data)
{
int i_ReturnValue = 0;
- DWORD dw_StatusRegister;
+ unsigned int dw_StatusRegister;
unsigned char b_ModulNbr;
unsigned char b_PulseEncoderNbr;
unsigned char * pb_Status;
(4 * b_PulseEncoderNbr) +
(64 * b_ModulNbr));
- } //end of switch
+ } /* end of switch */
} else {
/*********************************/
/* Pulse encoder not initialised */