chg: i2c fixes

This commit is contained in:
Chris 2018-07-08 13:52:30 +02:00
commit df4c0014f6
2 changed files with 22 additions and 17 deletions

View file

@ -89,6 +89,8 @@ int CmdSmartRaw(const char *Cmd) {
//Validations
if (errors || cmdp == 0 ) return usage_sm_raw();
// arg0 = RFU flags
// arg1 = length
UsbCommand c = {CMD_SMART_RAW, {0, hexlen, 0}};
memcpy(c.d.asBytes, data, hexlen );
clearCommandBuffer();