adapt standalone

This commit is contained in:
iceman1001 2020-09-06 21:42:50 +02:00
parent 718e6d2ce8
commit 53831a4a3c

View file

@ -22,7 +22,6 @@
#include "legic.h" // legic_card_select_t struct #include "legic.h" // legic_card_select_t struct
#include "spiffs.h" // flashmem #include "spiffs.h" // flashmem
/* /*
* To list all dump files from flash: * To list all dump files from flash:
* *
@ -106,6 +105,7 @@ void RunMod(void) {
FpgaDownloadAndGo(FPGA_BITSTREAM_HF); FpgaDownloadAndGo(FPGA_BITSTREAM_HF);
Dbprintf("[=] >> HF Legic Prime Read/Simulate Started <<"); Dbprintf("[=] >> HF Legic Prime Read/Simulate Started <<");
DbpString("[=] press and HOLD button to exit standalone mode"); DbpString("[=] press and HOLD button to exit standalone mode");
for (;;) { for (;;) {
WDT_HIT(); WDT_HIT();
@ -163,7 +163,7 @@ void RunMod(void) {
} }
// The read data is migrated to a MIM1024 card // The read data is migrated to a MIM1024 card
LegicRfSimulate(ct); LegicRfSimulate(ct, false);
} }
} }