hmmm... should compile things before I check them in.
authorDavid Schleef <ds@schleef.org>
Mon, 28 May 2001 04:00:34 +0000 (04:00 +0000)
committerDavid Schleef <ds@schleef.org>
Mon, 28 May 2001 04:00:34 +0000 (04:00 +0000)
python/compy.c
python/sample.py

index 354bd6b37cc838fd992625d34d86b91fb129c4ce..815eb5dd712fa9b53e5157e6010cbfe9d3738cbe 100644 (file)
@@ -53,7 +53,7 @@ compy_open(self, args)
 }
 
 static PyObject *
-compy_read_data(PyObject *self, PyObject *args)
+compy_data_read(PyObject *self, PyObject *args)
 {
        int subd, chan;
        int card;
index c645efa8aef13efcbac4b00ad8760265c1cc7a3f..c348b9c551919e52243056d4c656e275dfb47b11 100755 (executable)
@@ -16,7 +16,7 @@ from string import *
 
 comedi.open(0,"/dev/comedi0",1)
 
-val = comedi.read_data((0,0,0));
+val = comedi.data_read((0,0,0));
 print val
 
 comedi.close(0)