From: David Schleef Date: Wed, 11 Apr 2001 03:37:22 +0000 (+0000) Subject: added RANGE_mA X-Git-Tag: r0_7_59~123 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7e1c6cf898c9da41c35387f9a867c48e4bac77ef;p=comedi.git added RANGE_mA --- diff --git a/include/linux/comedidev.h b/include/linux/comedidev.h index 09bd76d7..f015a7c4 100644 --- a/include/linux/comedidev.h +++ b/include/linux/comedidev.h @@ -239,6 +239,7 @@ extern volatile int rtcomedi_lock_semaphore; #define RANGE(a,b) {(a)*1e6,(b)*1e6,0} #define RANGE_ext(a,b) {(a)*1e6,(b)*1e6,RF_EXTERNAL} +#define RANGE_mA(a,b) {(a)*1e6,(b)*1e6,UNIT_mA} #define RANGE_unitless(a,b) {(a)*1e6,(b)*1e6,0} /* XXX */ #define BIP_RANGE(a) {-(a)*1e6,(a)*1e6,0} #define UNI_RANGE(a) {0,(a)*1e6,0}