From 0dd140a99e7c690db71998b52252d4332ee2b6c0 Mon Sep 17 00:00:00 2001 From: suut Date: Thu, 5 Feb 2026 13:37:16 +0100 Subject: [PATCH] lf t55xx wakeup: fix parsing of -v / -p options Signed-off-by: suut --- CHANGELOG.md | 1 + client/src/cmdlft55xx.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6acd1e9d5..c7a9c0600 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/client/src/cmdlft55xx.c b/client/src/cmdlft55xx.c index 96fb52946..b07c4e015 100644 --- a/client/src/cmdlft55xx.c +++ b/client/src/cmdlft55xx.c @@ -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);