On 10/3/22 10:53, Mike Christie wrote:
+ memset(cmd, 0, 16); + cmd[0] = SERVICE_ACTION_IN_16; + cmd[1] = SAI_READ_CAPACITY_16; + cmd[13] = RC16_LEN;
Can the cmd[] declaration be changed into a static const array declaration? Thanks, Bart.
On 10/3/22 10:53, Mike Christie wrote:
+ memset(cmd, 0, 16); + cmd[0] = SERVICE_ACTION_IN_16; + cmd[1] = SAI_READ_CAPACITY_16; + cmd[13] = RC16_LEN;
Can the cmd[] declaration be changed into a static const array declaration? Thanks, Bart.