From: Frank Mori Hess Date: Wed, 21 Nov 2007 18:14:40 +0000 (+0000) Subject: Fixed offset for isolated digital input register on 1762. X-Git-Tag: v0_7_76~56 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b411c1fb9225202fdaeabf49a14b59132f759bad;p=comedi.git Fixed offset for isolated digital input register on 1762. --- diff --git a/comedi/drivers/adv_pci_dio.c b/comedi/drivers/adv_pci_dio.c index 4a34d22d..acbbb3ef 100644 --- a/comedi/drivers/adv_pci_dio.c +++ b/comedi/drivers/adv_pci_dio.c @@ -119,7 +119,7 @@ typedef enum { // Advantech PCI-1762 registers #define PCI1762_RO 0 /* R/W: Relays status/output */ -#define PCI1762_IDI 0 /* R: Isolated input status */ +#define PCI1762_IDI 2 /* R: Isolated input status */ #define PCI1762_BOARDID 4 /* R: Board I/D switch */ #define PCI1762_ICR 6 /* W: Interrupt control register */ #define PCI1762_ISR 6 /* R: Interrupt status register */