chg: i2c fixes

This commit is contained in:
Chris committed 2018-07-08 13:52:30 +02:00
1 parent d4e471092f
commit df4c0014f6
2 files changed
+22 -17

No files matched your search

+2
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();