]> sigrok.org Git - libsigrok.git/commit
motech-lps-301: make better use of serial extract options helper
authorGerhard Sittig <redacted>
Sat, 22 May 2021 11:35:29 +0000 (13:35 +0200)
committerGerhard Sittig <redacted>
Tue, 1 Jun 2021 06:20:59 +0000 (08:20 +0200)
commit6b4bdfbde8a9bfc3891ad98a373aa7cea12aef76
treee5903df1e819d6779e91a6d78faff1816086951b
parent9d6a896014ae88645d72287bf09a0de2925c532b
motech-lps-301: make better use of serial extract options helper

Pre-assign default values before having user specified options scanned.
This avoids the necessity to post-process the result. Move the initial
assignment to where its corresponding update is to improve readability.
src/hardware/motech-lps-30x/api.c