ericps1 / crts

GNU General Public License v3.0
12 stars 18 forks source link

minor cleanup/bug fix in set/get_tx_control_info #3

Closed maxhowald closed 8 years ago

maxhowald commented 8 years ago

set_tx_control_info() previously copied the contents of _control_info into tx_header with a for loop, and then copied the last 6 bytes of tx_header back into the _control_info array with memset. This doesn't break anything, but it probably wasn't intentional.

get_tx_control_info() copied the contents of _control_info into tx_header, rather than the other way around. This doesn't work, but this function may be unneeded anyway, since the tx_control_info is always user set.