chg: unified download

This commit is contained in:
iceman1001 2018-05-02 19:52:31 +02:00
commit 6f7d0dffdc
4 changed files with 5 additions and 5 deletions

View file

@ -995,7 +995,7 @@ bool downloadSamplesEM(){
// 8 bit preamble + 32 bit word response (max clock (128) * 40bits = 5120 samples)
uint8_t got[6000];
if ( !GetFromBigBuf(got, sizeof(got), 0, NULL, 2500, false)) {
if ( !GetFromDevice(BIG_BUF, got, sizeof(got), 0, NULL, 2500, false)) {
PrintAndLogEx(WARNING, "command execution time out");
return false;
}