add: potential fix for OSX uses, by @piwi

chg:  adapting fix to support iceman forks extended commands.
This commit is contained in:
iceman1001 2018-05-02 08:11:29 +02:00
commit 207fa2b574
39 changed files with 160 additions and 129 deletions

View file

@ -534,8 +534,7 @@ int CmdAnalyseA(const char *Cmd){
uint8_t got[0x3FFFF];
memset(got, 0, sizeof(got));
PrintAndLogEx(NORMAL, "downloading %u bytes from flashmem", sizeof(got));
GetFromFlashMen(got, sizeof(got), 0);
WaitForResponse(CMD_ACK, NULL);
GetFromFlashMen(got, sizeof(got), 0, NULL, -1, true);
print_hex(got, 8);