chg: 'sc raw' - no need to tvl decode twice
This commit is contained in:
1 parent
25b07682dc
commit
ac12d715f0
1 file changed
-4
@@ -233,10 +233,6 @@ int CmdSmartRaw(const char *Cmd) {
|
|||||||
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