From ef46e3af29cd353516fde97a03ec34b8c091b9f9 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sat, 13 Apr 2019 01:47:10 +0200 Subject: [PATCH] style --- client/cmdhffelica.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/cmdhffelica.c b/client/cmdhffelica.c index 1b17cb37d..525ee7c17 100644 --- a/client/cmdhffelica.c +++ b/client/cmdhffelica.c @@ -413,10 +413,9 @@ static int CmdHFFelicaDumpLite(const char *Cmd) { static void waitCmdFelica(uint8_t iSelect) { UsbCommand resp; - uint16_t len = 0; if (WaitForResponseTimeout(CMD_ACK, &resp, 2000)) { - len = iSelect ? (resp.arg[1] & 0xffff) : (resp.arg[0] & 0xffff); + uint16_t len = iSelect ? (resp.arg[1] & 0xffff) : (resp.arg[0] & 0xffff); PrintAndLogEx(NORMAL, "received %i octets", len); if (!len) return;