1
0
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:
Jordan Tryon
2017-01-10 21:18:44 -05:00
parent 486cf73860
commit 3b2e334876

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)