]> sigrok.org Git - libsigrokdecode.git/commit
pwm: Fixup sample numbers for binary output
authorGerhard Sittig <redacted>
Sun, 18 Jun 2017 11:50:48 +0000 (13:50 +0200)
committerGerhard Sittig <redacted>
Tue, 20 Jun 2017 21:10:09 +0000 (23:10 +0200)
commit73dc48310c47f4e3ebb6ee6de67983603ddd3ea3
tree7e2c54c5fdfa7a0eed98793051bdbdfa8dc39178
parenteff37627aa217defa784337c4f4aa309477311fc
pwm: Fixup sample numbers for binary output

Do reference the period's start and end sample numbers when the
duty cycle is written to the binary output stream. The previous
implementation inappropriately used the period counter instead.
decoders/pwm/pd.py