Commit cf9b4634 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: usbduxsigma: change private data flags to bit fields

Change the type of all the true/false flags in the private data to
bit fields.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 92ba10e1
...@@ -176,16 +176,14 @@ struct usbduxsigma_private { ...@@ -176,16 +176,14 @@ struct usbduxsigma_private {
int8_t *insnBuffer; int8_t *insnBuffer;
/* output buffer for single DA outputs */ /* output buffer for single DA outputs */
int16_t *outBuffer; int16_t *outBuffer;
/* is it USB_SPEED_HIGH or not? */
short int high_speed; unsigned high_speed:1;
/* asynchronous command is running */ unsigned ai_cmd_running:1;
short int ai_cmd_running; unsigned ai_continuous:1;
short int ao_cmd_running; unsigned ao_cmd_running:1;
/* pwm is running */ unsigned ao_continuous:1;
short int pwm_cmd_running; unsigned pwm_cmd_running:1;
/* continuous acquisition */
short int ai_continuous;
short int ao_continuous;
/* number of samples to acquire */ /* number of samples to acquire */
int ai_sample_count; int ai_sample_count;
int ao_sample_count; int ao_sample_count;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment