Skip to content

Commit 3b89453

Browse files
authored
Merge pull request #3086 from suut/fix_lf_t55xx_wakeup_options_parsing
lf t55xx wakeup: fix parsing of -v / -p options
2 parents 0eefede + 0dd140a commit 3b89453

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file.
33
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
44

55
## [unreleased][unreleased]
6+
- Fixed `lf t55xx wakeup` options parsing (@suut)
67
- Added `--` arg separator to client to pass following args to scripts (@doegox)
78
- Fixed ISO14443-4 type B NDEF workflow + parsing (@team-orangeBlue)
89
- Added Snapmaker U1 filament spool KDF in `hf mf keygen` (@Foxushka)

client/src/cmdlft55xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,7 @@ static int CmdT55xxWakeUp(const char *Cmd) {
11121112
CLIExecWithReturn(ctx, Cmd, argtable, true);
11131113

11141114
uint32_t password = 0;
1115-
int res = arg_get_u32_hexstr_def_nlen(ctx, 2, 0, &password, 4, true);
1115+
int res = arg_get_u32_hexstr_def_nlen(ctx, 1, 0, &password, 4, true);
11161116
if (res == 0 || res == 2) {
11171117
PrintAndLogEx(ERR, "Password should be 4 hex bytes");
11181118
CLIParserFree(ctx);

0 commit comments

Comments
 (0)