less logs

This commit is contained in:
iceman1001 2020-07-29 10:19:48 +02:00
commit 445d5a46df

View file

@ -465,9 +465,10 @@ static int CmdSmartRaw(const char *Cmd) {
//Validations //Validations
if (errors || cmdp == 0) return usage_sm_raw(); if (errors || cmdp == 0) return usage_sm_raw();
uint8_t flags = 0; uint8_t flags = SC_LOG;
if (active || active_select) { if (active || active_select) {
flags |= SC_CONNECT;
flags |= (SC_CONNECT | SC_CLEARLOG);
if (active_select) if (active_select)
flags |= SC_SELECT; flags |= SC_SELECT;
} }