hmmm... should compile things before I check them in.
This commit is contained in:
parent
9ff8e2fa97
commit
433f3c1bd7
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue