chg: unified download
This commit is contained in:
1 parent
baf6beec2e
commit
6f7d0dffdc
4 files changed
+5
-5
No files matched your search
+2
-2
@@ -38,7 +38,7 @@ int CmdLFHitagList(const char *Cmd) {
|
||||
|
||||
// Query for the actual size of the trace
|
||||
UsbCommand response;
|
||||
if ( !GetFromBigBuf(got, USB_CMD_DATA_SIZE, 0, &response, 2500, false) ) {
|
||||
if ( !GetFromDevice(BIG_BUF, got, USB_CMD_DATA_SIZE, 0, &response, 2500, false) ) {
|
||||
PrintAndLogEx(WARNING, "command execution time out");
|
||||
free(got);
|
||||
return 2;
|
||||
@@ -53,7 +53,7 @@ int CmdLFHitagList(const char *Cmd) {
|
||||
return 2;
|
||||
}
|
||||
got = p;
|
||||
if ( !GetFromBigBuf(got, traceLen, 0, NULL, 2500, false) ) {
|
||||
if ( !GetFromDevice(BIG_BUF, got, traceLen, 0, NULL, 2500, false) ) {
|
||||
PrintAndLogEx(WARNING, "command execution time out");
|
||||
free(got);
|
||||
return 2;
|
||||
|
||||
Reference in new issue
Block a user