Skip to content

Commit

Permalink
Fix a few typos in the Python module declaration file
Browse files Browse the repository at this point in the history
  • Loading branch information
RossAdrian committed Jul 27, 2024
1 parent 3d16040 commit d5fccf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions native/module_pyfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ static PyObject* pyfunc_pyfb_ssetPixel(PyObject* self, PyObject* args) {
pyfb_initcolor_u32(&color, color_val);

// And invoke the target function
pyfb_ssetPixel(fbnum, x, y, &color);
pyfb_ssetPixel(fbnum_c, x, y, &color);

// ready
int exitcode = 0;
Expand All @@ -86,7 +86,7 @@ static PyObject* pyfunc_pyfb_ssetPixel(PyObject* self, PyObject* args) {
static PyMethodDef pyfb_methods[] = {
{"pyfb_open", pyfunc_pyfb_open, METH_VARARGS, "Framebuffer open function"},
{"pyfb_close", pyfunc_pyfb_close, METH_VARARGS, "Framebuffer close function"},
{"pyfb_setPixel", pyfunc_pyfb_ssetPixel, METH_VARARGS, "Draw a pixel on the framebuffer"}
{"pyfb_setPixel", pyfunc_pyfb_ssetPixel, METH_VARARGS, "Draw a pixel on the framebuffer"},
{NULL, NULL, 0, NULL}
};

Expand Down

0 comments on commit d5fccf9

Please sign in to comment.