]> sigrok.org Git - libsigrok.git/commit
hameg-hmo: Send the DF_END packet in acquisition_stop()
authorpoljar (Damir Jelić) <redacted>
Thu, 16 Jan 2014 14:28:52 +0000 (15:28 +0100)
committerBert Vermeulen <redacted>
Thu, 16 Jan 2014 15:27:35 +0000 (16:27 +0100)
commit66e3219dbd086dc57087281f10fdefbe060ee5c8
treedc8d4682290f4e520a0157058d86a2bff3cbf73e
parent68e3d070144375fc01c54f0295a6c9acf726d9cc
hameg-hmo: Send the DF_END packet in acquisition_stop()

The DF_END packet was send out after all configured frames were fetched, but
devices may stop the acquisition at any point in time and an DF_END will not be
send out in this case.

Send the DF_END packet inside of acquisition_stop() so this can't happen.
hardware/hameg-hmo/api.c
hardware/hameg-hmo/protocol.c