Procházet zdrojové kódy

save nfc files on write

Sanjay Govind před 10 měsíci
rodič
revize
abbc411590
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3 0
      virtual_portal.c

+ 3 - 0
virtual_portal.c

@@ -536,6 +536,9 @@ int virtual_portal_write(VirtualPortal* virtual_portal, uint8_t* message, uint8_
 
     mf_classic_free(data);
 
+
+    nfc_device_save(nfc_device, furi_string_get_cstr(pof_token->load_path));
+
     response[0] = 'W';
     response[1] = 0x10 | arrayIndex;
     response[2] = blockNum;