From d3ae908b5f2b0855761e32a5b0f2b7c8095d1ca4 Mon Sep 17 00:00:00 2001 From: Henry Gabryjelski Date: Fri, 1 Mar 2024 20:16:42 -0800 Subject: [PATCH] mark additional function as static --- client/src/cmdlfem4x70.c | 3 ++- client/src/cmdlfem4x70.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/client/src/cmdlfem4x70.c b/client/src/cmdlfem4x70.c index 5a821c985..a91550a4d 100644 --- a/client/src/cmdlfem4x70.c +++ b/client/src/cmdlfem4x70.c @@ -79,7 +79,8 @@ static void print_info_result(const uint8_t *data) { } -int em4x70_info(void) { +// Note: arm source has a function with same name ... different signature. +static int em4x70_info(void) { em4x70_data_t edata = { .parity = false // TODO: try both? or default to true diff --git a/client/src/cmdlfem4x70.h b/client/src/cmdlfem4x70.h index 12599713b..3c9152f13 100644 --- a/client/src/cmdlfem4x70.h +++ b/client/src/cmdlfem4x70.h @@ -31,8 +31,9 @@ int CmdEM4x70Unlock(const char *Cmd); int CmdEM4x70Auth(const char *Cmd); int CmdEM4x70WritePIN(const char *Cmd); int CmdEM4x70WriteKey(const char *Cmd); +//int CmdEM4x70Recover(const char *Cmd); -int em4x70_info(void); +// for `lf search`: bool detect_4x70_block(void); #endif