Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
This is a first attempt, might not be finished or finalized.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is in preparation for passing annotation data back to the calling
frontend, and python data up to the next protocol in the stack.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add missing checks and quotes, remove superfluous checks, etc.
|
|
|
|
|
|
|
|
This yields a slightly more "tidy" top-level directory.
|
|
This info is in the decoder's metadata, where the frontends can get it
from programmatically anyway.
|
|
|
|
The libs themselves should use #include "sigrok.h" etc., while the
frontends must use #include <sigrok.h> and so on.
|
|
While 'data' is of type 'bytes', 'data[0]' for example is of type 'int',
thus the ord() there is neither needed nor correct anymore (yields an error).
|
|
|
|
In Python 3 there's no xrange() anymore, only range().
|
|
|
|
|
|
Since Python 3 there are some explicit int() casts needed.
|
|
|
|
|
|
|
|
|
|
|
|
(python3 regression).
|
|
|
|
|
|
PD decode() call now takes 3 arguments: timeoffset, duration, data
as per the current API specification.
|
|
|
|
This is done to be consistent with libsigrok's SR_ERR_ARG (nicer that way).
|