chg: 'sc raw' - no need to tvl decode twice
This commit is contained in:
@@ -232,10 +232,6 @@ int CmdSmartRaw(const char *Cmd) {
|
|||||||
clearCommandBuffer();
|
clearCommandBuffer();
|
||||||
SendCommand(&c);
|
SendCommand(&c);
|
||||||
len = smart_response(buf);
|
len = smart_response(buf);
|
||||||
|
|
||||||
// TLV decoder
|
|
||||||
if (len > 4)
|
|
||||||
TLVPrintFromBuffer(buf+1, len-3);
|
|
||||||
|
|
||||||
data[4] = 0;
|
data[4] = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user