From d5fccf949f0dd46f35a14498dba7bc7308a5cc66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Ro=C3=9F?= Date: Sat, 27 Jul 2024 12:55:58 +0200 Subject: [PATCH] Fix a few typos in the Python module declaration file --- native/module_pyfb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/native/module_pyfb.c b/native/module_pyfb.c index ceacbb4..5268144 100644 --- a/native/module_pyfb.c +++ b/native/module_pyfb.c @@ -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; @@ -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} };