lnls-dig / halcs

Hardware Abstraction Layer for Control Systems
GNU General Public License v3.0
1 stars 4 forks source link

[CLOSED] [smio:acq] _acq_get_data_block () does not return the correct structure #44

Closed lerwys closed 8 years ago

lerwys commented 8 years ago

Issue by lerwys Friday Oct 31, 2014 at 18:54 GMT Originally opened as https://github.com/lnls-dig/bpm-sw/issues/44


Problem: The clients rely on the structure disp_op_t for the arguments and the return types. The actual implementation of _acq_get_data_block returns to the caller only the valid bytes read, as opposed to the specified in its corresponding disp_op_t structure.

Solution: Add the number of valid bytes in the data block structure and return the whole structure.