mirror of
https://github.com/xtacocorex/CHIP_IO
synced 2025-07-19 20:33:21 +00:00
Fix and close #51, I wasn't careful in swapping the module name. I thought the name was changed months ago, but eh, fixed now
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