Kaynağa Gözat

save nfc files on write

Sanjay Govind 1 yıl önce
ebeveyn
işleme
abbc411590
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  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;