valid bit should be 3rd bit, not 0x3 value
authorFrank Mori Hess <fmhess@speakeasy.net>
Sun, 23 Nov 2003 19:12:26 +0000 (19:12 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sun, 23 Nov 2003 19:12:26 +0000 (19:12 +0000)
comedi/drivers/comedi_counter_unstable.h

index 7e802fad7b6bb41377191304f422d5467c3255c5..a1e67faef7cdd7e633cf68c9d903274492ec603d 100644 (file)
@@ -87,7 +87,7 @@ static inline int comedi_counter_trigger_bits(unsigned int input_num, int flags)
 {
        static const int low_bit = 0x1;
        static const int edge_bit = 0x2;
-       static const int valid_bit = 0x3;
+       static const int valid_bit = 0x4;
        static const int bits_per_channel = 3;
        int bits = valid_bit;