From 3b2e334876fb15098096567cf956947e456efdc3 Mon Sep 17 00:00:00 2001 From: Jordan Tryon Date: Tue, 10 Jan 2017 21:18:44 -0500 Subject: [PATCH] Updated rpigpiomodule to chipgpiomodule so python3 compile works --- source/py_gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/py_gpio.c b/source/py_gpio.c index f7e1abc..2f727a5 100644 --- a/source/py_gpio.c +++ b/source/py_gpio.c @@ -861,7 +861,7 @@ PyMODINIT_FUNC initGPIO(void) clear_error_msg(); #if PY_MAJOR_VERSION > 2 - if ((module = PyModule_Create(&rpigpiomodule)) == NULL) + if ((module = PyModule_Create(&chipgpiomodule)) == NULL) return NULL; #else if ((module = Py_InitModule3("GPIO", gpio_methods, moduledocstring)) == NULL)