]> sigrok.org Git - libsigrokdecode.git/commit
sdcard_sd: Remove a list that needs manual maintenance.
authorUwe Hermann <redacted>
Fri, 10 Jan 2020 23:17:44 +0000 (00:17 +0100)
committerUwe Hermann <redacted>
Fri, 10 Jan 2020 23:17:44 +0000 (00:17 +0100)
commit1e9dfe605f11ce2535a740e20555bbc439c0fc1a
tree9d81e4a3936248f8eaeebea9507d21fc88f09235
parent4437df0c3bdd3c5650d02624f7d0431f82f24362
sdcard_sd: Remove a list that needs manual maintenance.

Instead of checking if a command is in a fixed list/tuple (that needs
to be manually updated every time a new command becomes supported),
simply check if the respective handling method for the command exists.

This fixes the bug of the CMD16 handler not being called, and will
prevent similar bugs in the future.
decoders/sdcard_sd/pd.py