]> sigrok.org Git - libsigrokdecode.git/commit
avr_isp: fix crash if part name is not known
authorSimon Ruderich <redacted>
Thu, 8 Feb 2024 23:21:23 +0000 (00:21 +0100)
committerSoeren Apel <redacted>
Tue, 27 Feb 2024 19:26:53 +0000 (20:26 +0100)
commitc600ee71ea021fd581cf48419e6a051da5b44c06
treef62fc41bd5c420bce6e5e2036b12f53d74caadba
parentaff61f55c5544623c2ba0dd971b37cf844e3124f
avr_isp: fix crash if part name is not known

Decoding an unknown part causes a KeyError exception. For example for an
ATmega328/P:

    srd: KeyError: Calling avr_isp-1 decode() failed: (149, 15)
decoders/avr_isp/pd.py