From a7b2034acdf8ea1552f3ff8ca5ed0961bc83625d Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sun, 18 Nov 2001 18:08:28 +0000 Subject: [PATCH] fixed an error I made --- comedi/drivers/ni_stc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comedi/drivers/ni_stc.h b/comedi/drivers/ni_stc.h index 792183f2..9da6ea3b 100644 --- a/comedi/drivers/ni_stc.h +++ b/comedi/drivers/ni_stc.h @@ -553,7 +553,7 @@ #define AO_Deglitch _bit1 #define AO_Ext_Ref _bit2 #define AO_Ground_Ref _bit3 -#define AO_Channel(x) ((x) & _bit8) +#define AO_Channel(x) ((x) << 8) #define DAC_FIFO_Data 0x1e #define DAC0_Direct_Data 0x18 -- 2.26.2