mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
Replace WITH_FPC by dynamic detection in client
This commit is contained in:
parent
bb966caab1
commit
30d29434d5
1 changed files with 5 additions and 0 deletions
|
@ -490,6 +490,11 @@ static int CmdAnalyseA(const char *Cmd) {
|
||||||
bool errors = false;
|
bool errors = false;
|
||||||
uint8_t data[PM3_CMD_DATA_SIZE] = {0x00};
|
uint8_t data[PM3_CMD_DATA_SIZE] = {0x00};
|
||||||
|
|
||||||
|
if (!IfPm3Fpc) {
|
||||||
|
PrintAndLogEx(ERR, "Device has no FPC USART support");
|
||||||
|
return PM3_EDEVNOTSUPP;
|
||||||
|
}
|
||||||
|
|
||||||
while (param_getchar(Cmd, cmdp) != 0x00 && !errors) {
|
while (param_getchar(Cmd, cmdp) != 0x00 && !errors) {
|
||||||
switch (tolower(param_getchar(Cmd, cmdp))) {
|
switch (tolower(param_getchar(Cmd, cmdp))) {
|
||||||
case 'd':
|
case 'd':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue