]> sigrok.org Git - libsigrok.git/commit
demo: fix infinite loop with 0 channels of one type
authorAurelien Jacobs <redacted>
Thu, 28 Jan 2016 22:17:50 +0000 (23:17 +0100)
committerUwe Hermann <redacted>
Thu, 28 Jan 2016 22:41:19 +0000 (23:41 +0100)
commit9dfacd870618806defe64a0cbe1ccd330e11cb3d
treeb90339975ae5cba1baff91a156b8a8ec306055af
parente9227902208d2ab96349b60788596dfc2222941a
demo: fix infinite loop with 0 channels of one type

The following command line exhibits the inifinit loop:
  sigrok-cli -d demo:analog_channels=0 --samples=8
src/hardware/demo/demo.c