diff options
Diffstat (limited to 'module_sigrokdecode.c')
-rw-r--r-- | module_sigrokdecode.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/module_sigrokdecode.c b/module_sigrokdecode.c index 655c1f5..6fba05c 100644 --- a/module_sigrokdecode.c +++ b/module_sigrokdecode.c @@ -77,6 +77,9 @@ PyMODINIT_FUNC PyInit_sigrokdecode(void) if (PyModule_AddIntConstant(mod, "OUTPUT_BINARY", SRD_OUTPUT_BINARY) == -1) return NULL; + if (PyModule_AddIntConstant(mod, "SRD_CONF_SAMPLERATE", + SRD_CONF_SAMPLERATE) == -1) + return NULL; mod_sigrokdecode = mod; |