From: Ian Abbott Date: Mon, 1 Sep 2008 10:03:58 +0000 (+0000) Subject: Tidied up the initializer for ni_boards[]. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=09b5d6adc0869973dfb567324f214329dc07a873;p=comedi.git Tidied up the initializer for ni_boards[]. --- diff --git a/comedi/drivers/ni_mio_cs.c b/comedi/drivers/ni_mio_cs.c index 6cc5bc74..f9cc4164 100644 --- a/comedi/drivers/ni_mio_cs.c +++ b/comedi/drivers/ni_mio_cs.c @@ -80,7 +80,7 @@ static const ni_board ni_boards[] = { aobits: 0, ao_fifo_depth:0, ao_unipolar:0, - .num_p0_dio_channels = 8, + num_p0_dio_channels:8, has_8255:0, caldac: {dac8800, dac8043}, }, @@ -96,7 +96,7 @@ static const ni_board ni_boards[] = { aobits: 0, ao_fifo_depth:0, ao_unipolar:0, - .num_p0_dio_channels = 8, + num_p0_dio_channels:8, has_8255:0, caldac: {mb88341}, /* verified */ }, @@ -111,10 +111,10 @@ static const ni_board ni_boards[] = { n_aochan:2, aobits: 12, ao_fifo_depth:2048, - .ao_range_table = &range_bipolar10, + ao_range_table:&range_bipolar10, ao_unipolar:0, ao_speed:1176, - .num_p0_dio_channels = 8, + num_p0_dio_channels:8, has_8255:0, caldac: {ad8804_debug}, /* verified */ }, @@ -129,10 +129,10 @@ static const ni_board ni_boards[] = { n_aochan:2, aobits: 12, ao_fifo_depth:0, - .ao_range_table = &range_bipolar10, + ao_range_table:&range_bipolar10, ao_unipolar:0, ao_speed:1000000, - .num_p0_dio_channels = 8, + num_p0_dio_channels:8, has_8255:0, caldac: {ad8804_debug}, }, @@ -147,10 +147,10 @@ static const ni_board ni_boards[] = { n_aochan:2, aobits: 16, ao_fifo_depth:0, - .ao_range_table = &range_bipolar10, + ao_range_table:&range_bipolar10, ao_unipolar:0, ao_speed:1000000, - .num_p0_dio_channels = 8, + num_p0_dio_channels:8, has_8255:0, caldac: {ad8804_debug}, }, @@ -161,7 +161,7 @@ static const ni_board ni_boards[] = { n_aochan:8, aobits: 12, ao_671x: 8192, - .num_p0_dio_channels = 8, + num_p0_dio_channels:8, caldac: {mb88341, mb88341}, }, #endif