From 7e1c6cf898c9da41c35387f9a867c48e4bac77ef Mon Sep 17 00:00:00 2001 From: David Schleef Date: Wed, 11 Apr 2001 03:37:22 +0000 Subject: [PATCH] added RANGE_mA --- include/linux/comedidev.h | 1 + 1 file changed, 1 insertion(+) 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} -- 2.26.2