comedi_board_info: improve display of external ranges.
authorIan Abbott <abbotti@mev.co.uk>
Mon, 15 Oct 2012 15:18:47 +0000 (16:18 +0100)
committerIan Abbott <abbotti@mev.co.uk>
Mon, 15 Oct 2012 15:18:47 +0000 (16:18 +0100)
commite185d974baf369399ffdbe8835e38f411951d1f9
treedcf75278a0ab045798f69452256f41c9f69e0074
parentb1824dba8d6200dbc43373e7b68590b769a80519
comedi_board_info: improve display of external ranges.

The units for a range with internal unit code `RF_EXTERNAL | UNIT_volt` is currently
displayed as " (unknown unit 256)", for example an external bipolar
voltage range -1 to 1 is displayed as:

[-1 (unknown unit 256),1 (unknown unit 256)]

Change it to be displayed as:

[-1*EXT V,1*EXT V]
comedi_board_info/comedi_board_info.c