From af6289c99a12cdd97ef7eee9040f4c1ad7fbb6a9 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 9 Mar 2021 14:38:53 +0100 Subject: [PATCH] text --- client/src/util.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/src/util.c b/client/src/util.c index 53825f28b..6519fec36 100644 --- a/client/src/util.c +++ b/client/src/util.c @@ -186,7 +186,7 @@ void print_hex_break(const uint8_t *data, const size_t len, uint8_t breaks) { if (data == NULL || len == 0) return; int rownum = 0; - PrintAndLogEx(NORMAL, "[%02d] | " NOLF, rownum); + PrintAndLogEx(INFO, "%02d | " NOLF, rownum); for (size_t i = 0; i < len; ++i) { PrintAndLogEx(NORMAL, "%02X " NOLF, data[i]); @@ -194,7 +194,8 @@ void print_hex_break(const uint8_t *data, const size_t len, uint8_t breaks) { // check if a line break is needed if (breaks > 0 && !((i + 1) % breaks) && (i + 1 < len)) { ++rownum; - PrintAndLogEx(NORMAL, "\n[%02d] | " NOLF, rownum); + PrintAndLogEx(NORMAL, ""); + PrintAndLogEx(INFO, "%02d | " NOLF, rownum); } } PrintAndLogEx(NORMAL, "");