cleanup
This commit is contained in:
parent
ecabe90cb6
commit
311249552a
1 changed files with 1 additions and 2 deletions
|
|
@ -4,8 +4,7 @@
|
||||||
static PyObject* switch_to_input(PyObject* self, PyObject* args) {
|
static PyObject* switch_to_input(PyObject* self, PyObject* args) {
|
||||||
uint8_t* display = malloc(sizeof(uint8_t));
|
uint8_t* display = malloc(sizeof(uint8_t));
|
||||||
uint8_t* input = malloc(sizeof(uint8_t));;
|
uint8_t* input = malloc(sizeof(uint8_t));;
|
||||||
//if (!PyArg_ParseTuple(args, "ii", &display, &input))
|
|
||||||
// return NULL;
|
|
||||||
if (!PyArg_ParseTuple(args, "ii", display, input))
|
if (!PyArg_ParseTuple(args, "ii", display, input))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue