]> sigrok.org Git - libsigrok.git/commit - src/hardware/korad-kaxxxxp/protocol.c
korad-kaxxxxp: eliminate model check in OVP enabled quirk handling
authorGerhard Sittig <redacted>
Thu, 15 Sep 2022 20:12:28 +0000 (22:12 +0200)
committerGerhard Sittig <redacted>
Sat, 17 Sep 2022 09:24:39 +0000 (11:24 +0200)
commit77e6749af13d79ad71fd3d7ddc209a1e6d5ee52a
tree284e0dcab4a6e36d1186b91d712e1db89a9ccb33
parentc7275098f6db9ba723cc191810e36a6b8a575b12
korad-kaxxxxp: eliminate model check in OVP enabled quirk handling

Rephrase the check for the Velleman LABPS3005D quirk. Eliminate the
check for individual supported models in the main loop. The condition
gets detected at scan time already. Handling other affected models
becomes transparent.
src/hardware/korad-kaxxxxp/protocol.c