hw setlfdivsor - text

This commit is contained in:
iceman1001 2021-01-06 02:04:57 +01:00
parent 82ffd54f09
commit 55ede9e415

View file

@ -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)