]> sigrok.org Git - libsigrok.git/commit
korad-kaxxxxp: eliminate numeric model ID in supported models table
authorGerhard Sittig <redacted>
Thu, 15 Sep 2022 20:24:11 +0000 (22:24 +0200)
committerGerhard Sittig <redacted>
Sat, 17 Sep 2022 09:24:42 +0000 (11:24 +0200)
commitc55adfa17a5509efd39a51580e208bf43822e4fb
treece825667878ed61cd51b2a60365fae1c8303b46a
parent5255f85613e08b9bf1710345b82214e96f57d8eb
korad-kaxxxxp: eliminate numeric model ID in supported models table

Drop the first column in the table of supported models. Voltage/current
capabilities as well as quirks are immediately detected at scan time, no
other code paths outside of scan need to access that "model enum/index".

[ see a word-diff for the essence, a table column gets removed ]
src/hardware/korad-kaxxxxp/api.c
src/hardware/korad-kaxxxxp/protocol.h