mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
style
This commit is contained in:
parent
618e31e920
commit
ef46e3af29
1 changed files with 1 additions and 2 deletions
|
@ -413,10 +413,9 @@ static int CmdHFFelicaDumpLite(const char *Cmd) {
|
||||||
|
|
||||||
static void waitCmdFelica(uint8_t iSelect) {
|
static void waitCmdFelica(uint8_t iSelect) {
|
||||||
UsbCommand resp;
|
UsbCommand resp;
|
||||||
uint16_t len = 0;
|
|
||||||
|
|
||||||
if (WaitForResponseTimeout(CMD_ACK, &resp, 2000)) {
|
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);
|
PrintAndLogEx(NORMAL, "received %i octets", len);
|
||||||
if (!len)
|
if (!len)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue