clean up, explain, lesser tests for buttonpress

This commit is contained in:
iceman1001 2019-09-26 09:54:43 +02:00
commit 7c2231974d
2 changed files with 17 additions and 10 deletions

View file

@ -65,7 +65,7 @@ int mfDarkside(uint8_t blockno, uint8_t key_type, uint64_t *key) {
PacketResponseNG resp;
if (WaitForResponseTimeout(CMD_HF_MIFARE_READER, &resp, 2000)) {
if (resp.status == PM3_EABORTED) {
if (resp.status == PM3_EOPABORTED) {
return -1;
}