Age | Commit message (Collapse) | Author |
|
|
|
This causes an issue when running the sigrok-test test-cases, so drop
it for now (the same check already exists in decode()).
This fixes bug #758.
|
|
The previous **kwargs some PDs had is not actually ever used, so drop it.
|
|
|
|
(for consistency with the other PDs)
|
|
This is more consistent with annotation syntax and looks slightly
better in most cases.
|
|
Use the "if not self.samplerate" form, which catches both the case
where self.samplerate is None, as well as the case where it is 0.
This is also consistent with all the other PDs.
|
|
For consistency with other decoders, convert all the double quotes around
strings to single quotes.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
|
|
|
|
|
|
Decode and packetize the Biphase Mark Coding (aka differential Manchester)
as used in the Universal Serial Bus Power Delivery Specification Revision 2.0
v1.1, then decode the packet content.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
|