1
0
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:
Robert Wolterman
2017-01-11 03:17:26 +00:00
parent 486cf73860
commit 10e7043269

View File

@ -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)