From 433f3c1bd7cd5fe6cff3a8daaaa85a86e3b2a7ab Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 28 May 2001 04:00:34 +0000 Subject: [PATCH] hmmm... should compile things before I check them in. --- python/compy.c | 2 +- python/sample.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) -- 2.26.2