diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2012-04-07 18:14:39 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2012-04-10 23:25:58 +0200 |
commit | 63b1026d367275c7171da7dc7d5ac675a420f485 (patch) | |
tree | c958279b2f4519efdf93f9405527ff0e24e9bf92 /type_logic.c | |
parent | 387c7bc65c4e87d704d4f59e78218effbfadcc95 (diff) | |
download | libsigrokdecode-63b1026d367275c7171da7dc7d5ac675a420f485.tar.gz libsigrokdecode-63b1026d367275c7171da7dc7d5ac675a420f485.zip |
sr/srd: Use/fix SR(D)_MAX_NUM_PROBES.
Diffstat (limited to 'type_logic.c')
-rw-r--r-- | type_logic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/type_logic.c b/type_logic.c index bb4ef3d..b284ebf 100644 --- a/type_logic.c +++ b/type_logic.c @@ -33,7 +33,7 @@ static PyObject *srd_logic_iternext(PyObject *self) PyObject *py_samplenum, *py_samples; srd_logic *logic; uint64_t sample; - unsigned char probe_samples[SRD_MAX_NUM_PROBES]; + uint8_t probe_samples[SRD_MAX_NUM_PROBES + 1]; logic = (srd_logic *)self; if (logic->itercnt >= logic->inbuflen / logic->di->data_unitsize) { |