projects
/
libsigrokdecode.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b4bbd2
)
Fix utf8 encoding error by changing the Python parameter to a bytes() object (python3...
author
Kristoffer Sjöberg
<ksjoberg@q1.se>
Wed, 28 Dec 2011 14:14:31 +0000
(15:14 +0100)
committer
Kristoffer Sjöberg
<ksjoberg@q1.se>
Wed, 28 Dec 2011 14:14:31 +0000
(15:14 +0100)
controller.c
patch
|
blob
|
history
diff --git
a/controller.c
b/controller.c
index 982bceb6b6468b35080fbd60c9f5b95a422c5635..db85c2338a7832e1730da35c5471a56166bf498a 100644
(file)
--- a/
controller.c
+++ b/
controller.c
@@
-386,7
+386,7
@@
int srd_run_decoder(uint64_t timeoffset, uint64_t duration,
Py_XINCREF(py_instance);
if (!(py_res = PyObject_CallMethod(py_instance, "decode",
- "KK
s
#", timeoffset, duration, inbuf, inbuflen))) {
+ "KK
y
#", timeoffset, duration, inbuf, inbuflen))) {
if (PyErr_Occurred())
PyErr_Print(); /* Returns void. */