mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
send arguments to standalone mode
This commit is contained in:
parent
8dd9c92beb
commit
c1a5f93dab
3 changed files with 33 additions and 24 deletions
|
@ -425,13 +425,19 @@ void ModInfo(void) {
|
|||
|
||||
void RunMod(void) {
|
||||
|
||||
uint8_t mode = ICE_USE;
|
||||
uint8_t *bb = BigBuf_get_EM_addr();
|
||||
if (bb[0] > 0 && bb[0] < 5) {
|
||||
mode = bb[0];
|
||||
}
|
||||
|
||||
FpgaDownloadAndGo(FPGA_BITSTREAM_HF);
|
||||
BigBuf_Clear();
|
||||
|
||||
StandAloneMode();
|
||||
Dbprintf(_YELLOW_("HF iCLASS mode a.k.a iceCLASS started"));
|
||||
|
||||
uint8_t mode = ICE_USE;
|
||||
|
||||
|
||||
for (;;) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue