rename global conn

This commit is contained in:
Philippe Teuwen committed 2021-08-21 20:21:08 +02:00
1 parent 8280fc3c07
commit 6a2f2b3979
23 files changed
+87 -87

No files matched your search

+2 -2
View File
@@ -519,12 +519,12 @@ static int CmdHF14AJookiSim(const char *Cmd) {
PrintAndLogEx(INFO, "." NOLF);
// fast push mode
conn.block_after_ACK = true;
g_conn.block_after_ACK = true;
uint8_t blockwidth = 4, counter = 0, blockno = 0;
while (datalen) {
if (datalen == blockwidth) {
// Disable fast mode on last packet
conn.block_after_ACK = false;
g_conn.block_after_ACK = false;
}
if (mfEmlSetMem_xt(data + counter, blockno, 1, blockwidth) != PM3_SUCCESS) {