From 0492df266c34c8c188a4c233f5ac4217942bb60d Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 18 Apr 2018 12:41:03 +0200 Subject: [PATCH] chg: only print if compiled with smartcard flag --- armsrc/Makefile | 1 - armsrc/appmain.c | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/armsrc/Makefile b/armsrc/Makefile index a640509f4..8ecbb8b3f 100644 --- a/armsrc/Makefile +++ b/armsrc/Makefile @@ -12,7 +12,6 @@ APP_INCLUDES = apps.h #in the next section to remove that particular feature from compilation. # NO space,TABs after the "\" sign. APP_CFLAGS = -DWITH_CRC \ - -DWITH_ISO18092 \ -DON_DEVICE \ -DWITH_LF \ -DWITH_HITAG \ diff --git a/armsrc/appmain.c b/armsrc/appmain.c index cd1b72313..f05ea4afa 100644 --- a/armsrc/appmain.c +++ b/armsrc/appmain.c @@ -369,7 +369,9 @@ void SendStatus(void) { BigBuf_print_status(); Fpga_print_status(); Flashmem_print_status(); +#ifdef WITH_SMARTCARD SmartCard_print_status(); +#endif printConfig(); //LF Sampling config printUSBSpeed(); Dbprintf("Various");