summaryrefslogtreecommitdiff
path: root/decoders/aud/__init__.py
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2019-04-03 19:10:46 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2019-04-14 18:38:12 +0200
commit984e3e3d3202e531c723b2e945529785a0f02ace (patch)
tree63faccaa5b10f0fe3c98b355ad71ac3bf7c6804f /decoders/aud/__init__.py
parent8f769505a877103da9756ceb09962189eddaa057 (diff)
downloadlibsigrokdecode-984e3e3d3202e531c723b2e945529785a0f02ace.tar.gz
libsigrokdecode-984e3e3d3202e531c723b2e945529785a0f02ace.zip
sdcard_spi: touch up CMD24 handling
Address some nits in the SDCard (SPI mode) protocol decoder. Rename identifiers to eliminate comments. Determine the default block size at the start of the write command instead of the iteration over payload data bytes. Remove a print() statement which would break regression tests. Allow re-use of the data handler for other commands, too. Use lower case hex digits for consistency across the source file, and slightly unobfuscate a bit pattern check while we are here. Improve robustness of response handlers and how internal state gets advanced. Replace constant lookups by direct method calls.
Diffstat (limited to 'decoders/aud/__init__.py')
0 files changed, 0 insertions, 0 deletions