From: David Schleef Date: Mon, 28 May 2001 04:00:34 +0000 (+0000) Subject: hmmm... should compile things before I check them in. X-Git-Tag: r0_7_16~78 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=433f3c1bd7cd5fe6cff3a8daaaa85a86e3b2a7ab;p=comedilib.git hmmm... should compile things before I check them in. --- diff --git a/python/compy.c b/python/compy.c index 354bd6b..815eb5d 100644 --- a/python/compy.c +++ b/python/compy.c @@ -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; diff --git a/python/sample.py b/python/sample.py index c645efa..c348b9c 100755 --- a/python/sample.py +++ b/python/sample.py @@ -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)