mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
rename global conn
This commit is contained in:
@@ -30,7 +30,7 @@ int flashmem_spiffs_load(char *destfn, uint8_t *data, size_t datalen) {
|
||||
uint32_t bytes_remaining = datalen;
|
||||
|
||||
// fast push mode
|
||||
conn.block_after_ACK = true;
|
||||
g_conn.block_after_ACK = true;
|
||||
|
||||
while (bytes_remaining > 0) {
|
||||
|
||||
@@ -73,7 +73,7 @@ out:
|
||||
clearCommandBuffer();
|
||||
|
||||
// turn off fast push mode
|
||||
conn.block_after_ACK = false;
|
||||
g_conn.block_after_ACK = false;
|
||||
|
||||
// We want to unmount after these to set things back to normal but more than this
|
||||
// unmouting ensure that SPIFFS CACHES are all flushed so our file is actually written on memory
|
||||
|
||||
Reference in New Issue
Block a user