]> sigrok.org Git - libsigrok.git/commit
scpi: accept numbers like 4.0000E3 as integer value
authorRalf <redacted>
Tue, 25 Aug 2020 06:19:18 +0000 (08:19 +0200)
committerGerhard Sittig <redacted>
Sun, 27 Sep 2020 10:51:39 +0000 (12:51 +0200)
commit2dddd5bd5edc3282df09d6d251b9754d3418c233
tree221c539353afad26f016ba0839d63cfbbf9f4c1c
parent0c52026459de91cf61e80e35bd0b8b9dff3bd9a4
scpi: accept numbers like 4.0000E3 as integer value

MSO5000 returns memory depth value in that format, e.g.
sr: [04:21.491949] scpi_vxi: Successfully sent SCPI command: 'ACQ:MDEP?'.
sr: [04:21.501463] scpi: Got response: '4.0000E+03', length 10.

[ gsi: drop redundant assignment and parens, amend diag message ]
src/scpi/scpi.c