lf t55xx wakeup: fix parsing of -v / -p options

Signed-off-by: suut <suut@users.noreply.github.com>
This commit is contained in:
suut
2026-02-05 13:42:38 +01:00
parent 0eefedee03
commit 0dd140a99e
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file.
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...
## [unreleased][unreleased]
- Fixed `lf t55xx wakeup` options parsing (@suut)
- Added `--` arg separator to client to pass following args to scripts (@doegox)
- Fixed ISO14443-4 type B NDEF workflow + parsing (@team-orangeBlue)
- Added Snapmaker U1 filament spool KDF in `hf mf keygen` (@Foxushka)
+1 -1
View File
@@ -1112,7 +1112,7 @@ static int CmdT55xxWakeUp(const char *Cmd) {
CLIExecWithReturn(ctx, Cmd, argtable, true);
uint32_t password = 0;
int res = arg_get_u32_hexstr_def_nlen(ctx, 2, 0, &password, 4, true);
int res = arg_get_u32_hexstr_def_nlen(ctx, 1, 0, &password, 4, true);
if (res == 0 || res == 2) {
PrintAndLogEx(ERR, "Password should be 4 hex bytes");
CLIParserFree(ctx);