]> sigrok.org Git - sigrok-util.git/commit
new-driver: split assignment and conditional
authorfenugrec <redacted>
Wed, 30 Nov 2022 20:58:01 +0000 (15:58 -0500)
committerfenugrec <redacted>
Sat, 3 Dec 2022 02:54:55 +0000 (21:54 -0500)
commitce4722e3215c0e94497312a30f792226eefd7571
tree1308aff7a8d28374d3a4a9f2ece12a4d8fea5a01
parent7ba871493bbb6173a245850cffdba550654ad6cc
new-driver: split assignment and conditional

Arguably, code is slightly easier to analyze this way, with less risk of
mistaking a typo for "==" and an assignment.
source/drv-protocol.c