On 10/3/22 10:53, Mike Christie wrote:
+ cmd[0] = READ_CAPACITY; + memset(&cmd[1], 0, 9);
Please remove the above code and change the cmd[] declaration into something like static const u8 cmd[10] = { READ_CAPACITY }; Thanks, Bart.
On 10/3/22 10:53, Mike Christie wrote:
+ cmd[0] = READ_CAPACITY; + memset(&cmd[1], 0, 9);
Please remove the above code and change the cmd[] declaration into something like static const u8 cmd[10] = { READ_CAPACITY }; Thanks, Bart.