diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2020-01-11 00:17:44 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2020-01-11 00:17:44 +0100 |
commit | 1e9dfe605f11ce2535a740e20555bbc439c0fc1a (patch) | |
tree | 9d81e4a3936248f8eaeebea9507d21fc88f09235 /decoders/i2c | |
parent | 4437df0c3bdd3c5650d02624f7d0431f82f24362 (diff) | |
download | libsigrokdecode-1e9dfe605f11ce2535a740e20555bbc439c0fc1a.tar.gz libsigrokdecode-1e9dfe605f11ce2535a740e20555bbc439c0fc1a.zip |
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.
Diffstat (limited to 'decoders/i2c')
0 files changed, 0 insertions, 0 deletions