mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-25 16:45:09 +08:00
hw setlfdivsor - text
This commit is contained in:
parent
82ffd54f09
commit
55ede9e415
1 changed files with 3 additions and 3 deletions
|
@ -508,9 +508,9 @@ static int CmdReset(const char *Cmd) {
|
||||||
static int CmdSetDivisor(const char *Cmd) {
|
static int CmdSetDivisor(const char *Cmd) {
|
||||||
|
|
||||||
CLIParserContext *ctx;
|
CLIParserContext *ctx;
|
||||||
CLIParserInit(&ctx, "hw setdivisor",
|
CLIParserInit(&ctx, "hw setlfdivisor",
|
||||||
"Drive LF antenna at 12 MHz / (divisor + 1).",
|
"Drive LF antenna at 12 MHz / (divisor + 1).",
|
||||||
"hw setdivisor -d 88"
|
"hw setlfdivisor -d 88"
|
||||||
);
|
);
|
||||||
|
|
||||||
void *argtable[] = {
|
void *argtable[] = {
|
||||||
|
@ -523,7 +523,7 @@ static int CmdSetDivisor(const char *Cmd) {
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
if (arg < 19) {
|
if (arg < 19) {
|
||||||
PrintAndLogEx(ERR, "divisor must be between" _YELLOW_("19") " and " _YELLOW_("255"));
|
PrintAndLogEx(ERR, "Divisor must be between" _YELLOW_("19") " and " _YELLOW_("255"));
|
||||||
return PM3_EINVARG;
|
return PM3_EINVARG;
|
||||||
}
|
}
|
||||||
// 12 000 000 (12MHz)
|
// 12 000 000 (12MHz)
|
||||||
|
|
Loading…
Reference in a new issue