mirror of
https://github.com/xtacocorex/CHIP_IO
synced 2025-07-20 04:43:21 +00:00
More updates to the library to add debug printing
This commit is contained in:
@ -84,6 +84,9 @@ void define_constants(PyObject *module)
|
||||
|
||||
bcm = Py_BuildValue("i", BCM);
|
||||
PyModule_AddObject(module, "BCM", bcm);
|
||||
|
||||
module_debug = Py_BuildValue("i", DEBUG ? Py_True: Py_False);
|
||||
PyModule_AddObject(module, "DEBUG", module_debug);
|
||||
|
||||
version = Py_BuildValue("s", "0.3.2");
|
||||
PyModule_AddObject(module, "VERSION", version);
|
||||
|
Reference in New Issue
Block a user