summaryrefslogtreecommitdiff
path: root/decoders/sda2506/pd.py
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2020-05-02 15:49:05 +0200
committerGerhard Sittig <gerhard.sittig@gmx.net>2020-07-07 20:42:42 +0200
commit41e0dd7ae3d5587011ea7f37f5dc83b232fa5373 (patch)
tree2956bffec72f7a1b8cc214ba60f0d4303ab03065 /decoders/sda2506/pd.py
parent3bd25dea9d260d738f2dfaef697d6455545cde62 (diff)
downloadlibsigrokdecode-41e0dd7ae3d5587011ea7f37f5dc83b232fa5373.tar.gz
libsigrokdecode-41e0dd7ae3d5587011ea7f37f5dc83b232fa5373.zip
sae_j1850_vpw: update for API v3, adjust to recent requirements
IRC user pman92 reported that this decoder exists, and started migration to the v3 API. This commit completes the migration, and adds missing decoder infrastructure which has become mandatory recently. Adjust the boilerplate: Drop FSF postal address. No Python output, add category tag, unambiguous annotation class and row names. Add reset() method. Use common code for edge detection. This commit also addresses minor style nits. Pass the most recent pulse's edges as ss and es to the data bit handling routine. Adjust whitespace to unbreak editor navigation and to improve readability. Use a more verbose name for the decoder, "vpw" appears a little short and collision happy, and is not found when users search for "j1850". [ Indentation changed, see whitespace ignoring diff for the essence. ] Reported-By: pman92 <dpriestley92@hotmail.com>
Diffstat (limited to 'decoders/sda2506/pd.py')
0 files changed, 0 insertions, 0 deletions