Index: comedi/drivers/amplc_pci230.c
===================================================================
RCS file: /cvs/comedi/comedi/comedi/drivers/amplc_pci230.c,v
retrieving revision 1.32
diff -u -r1.32 amplc_pci230.c
--- comedi/drivers/amplc_pci230.c	7 Oct 2005 05:08:13 -0000	1.32
+++ comedi/drivers/amplc_pci230.c	25 Jan 2006 13:09:24 -0000
@@ -556,7 +556,7 @@
 		/* wait for conversion to end */
 		for(i=0;i<TIMEOUT;i++){
 			status = inw(dev->iobase + PCI230_ADCCON);
-			if(PCI230_TEST_BIT(status, PCI230_ADC_BUSY_BIT))break;
+			if(!PCI230_TEST_BIT(status, PCI230_ADC_BUSY_BIT))break;
 		}
 		if(i==TIMEOUT){
 			/* rt_printk() should be used instead of printk()

