From 445d5a46dfb7456825cd4863391cbd24433307f3 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 29 Jul 2020 10:19:48 +0200 Subject: [PATCH] less logs --- client/src/cmdsmartcard.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/src/cmdsmartcard.c b/client/src/cmdsmartcard.c index 009e876c8..3c13c3bde 100644 --- a/client/src/cmdsmartcard.c +++ b/client/src/cmdsmartcard.c @@ -465,9 +465,10 @@ static int CmdSmartRaw(const char *Cmd) { //Validations if (errors || cmdp == 0) return usage_sm_raw(); - uint8_t flags = 0; + uint8_t flags = SC_LOG; if (active || active_select) { - flags |= SC_CONNECT; + + flags |= (SC_CONNECT | SC_CLEARLOG); if (active_select) flags |= SC_SELECT; }