mirror of
https://github.com/xtacocorex/CHIP_IO
synced 2025-07-19 20:33:21 +00:00
Updated rpigpiomodule to chipgpiomodule so python3 compile works
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user