From 1871e7b9fbfd4144dc06522fcdd244b3ecea0157 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 19 Apr 2021 22:52:40 +0200 Subject: [PATCH] lf t55xx resetread - correct cli arguments --- client/src/cmdlft55xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/cmdlft55xx.c b/client/src/cmdlft55xx.c index 1b98cc47d..06c4e2e34 100644 --- a/client/src/cmdlft55xx.c +++ b/client/src/cmdlft55xx.c @@ -2839,11 +2839,11 @@ static int CmdResetRead(const char *Cmd) { ); // 1 (help) + 0(one user specified params) + (5 T55XX_DLMODE_SINGLE) - void *argtable[0 + 5] = { + void *argtable[2 + 5] = { arg_param_begin, arg_lit0("1", NULL, "extract using data from graphbuffer"), }; - uint8_t idx = 1; + uint8_t idx = 2; arg_add_t55xx_downloadlink(argtable, &idx, T55XX_DLMODE_SINGLE, config.downlink_mode); CLIExecWithReturn(ctx, Cmd, argtable, true);