mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-06 16:27:22 +08:00
fix: GetFromDevice with BIG_BUF_EML
dl_it was expecting CMD_DOWNLOADED_RAW_ADC_SAMPLES_125K but got CMD_DOWNLOADED_EML_BIGBUF resulting in an upload silently failing.
This commit is contained in:
parent
052c8f0998
commit
6e8775540e
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ bool GetFromDevice(DeviceMemType_t memtype, uint8_t *dest, uint32_t bytes, uint3
|
||||||
case BIG_BUF_EML: {
|
case BIG_BUF_EML: {
|
||||||
UsbCommand c = {CMD_DOWNLOAD_EML_BIGBUF, {start_index, bytes, 0}};
|
UsbCommand c = {CMD_DOWNLOAD_EML_BIGBUF, {start_index, bytes, 0}};
|
||||||
SendCommand(&c);
|
SendCommand(&c);
|
||||||
return dl_it(dest, bytes, start_index, response, ms_timeout, show_warning, CMD_DOWNLOADED_RAW_ADC_SAMPLES_125K);
|
return dl_it(dest, bytes, start_index, response, ms_timeout, show_warning, CMD_DOWNLOADED_EML_BIGBUF);
|
||||||
}
|
}
|
||||||
case FLASH_MEM: {
|
case FLASH_MEM: {
|
||||||
UsbCommand c = {CMD_DOWNLOAND_FLASH_MEM, {start_index, bytes, 0}};
|
UsbCommand c = {CMD_DOWNLOAND_FLASH_MEM, {start_index, bytes, 0}};
|
||||||
|
|
Loading…
Reference in a new issue