jancumps / pico_scpi_usbtmc_labtool

LabVIEW compatible instrument on a Raspberry Pico
https://github.com/jancumps/pico_scpi_usbtmc_labtool/wiki
MIT License
12 stars 16 forks source link

fixes the MAV clear for scpi request without reply #56

Closed jancumps closed 11 months ago

jancumps commented 11 months ago

in the TinyUSB example, the MAV flag is not cleared if the SCPI request does not reply (if it is a command instead of a request). This pull request: close #54

jancumps commented 11 months ago

The value can only be 0 and positive.
reply_len is of type size_t
size_t is the unsigned integer type. Guaranteed to be 0 or more.