mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 13:00:42 -07:00
if simulation fails, lets return back
This commit is contained in:
parent
2108ab6101
commit
c1729ca264
1 changed files with 4 additions and 1 deletions
|
@ -234,7 +234,10 @@ static void become_card(void) {
|
||||||
tag_response_info_t *canned;
|
tag_response_info_t *canned;
|
||||||
uint32_t cuid;
|
uint32_t cuid;
|
||||||
uint8_t pages;
|
uint8_t pages;
|
||||||
SimulateIso14443aInit(tagType, flags, data, NULL, 0, &canned, &cuid, &pages);
|
if (SimulateIso14443aInit(tagType, flags, data, NULL, 0, &canned, &cuid, &pages) == false) {
|
||||||
|
DbpString(_RED_("Error initializing the emulation process!"));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
DbpString(_CYAN_("[@]") " Setup done - entering emulation loop");
|
DbpString(_CYAN_("[@]") " Setup done - entering emulation loop");
|
||||||
int fromReaderLen;
|
int fromReaderLen;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue