From 36ecc4be974b884d430460663398e1715703906a Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 14 May 2019 11:42:17 -0400 Subject: [PATCH] style --- client/cmdhf.c | 2 +- client/ui.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/cmdhf.c b/client/cmdhf.c index a7fe79194..7e42202a9 100644 --- a/client/cmdhf.c +++ b/client/cmdhf.c @@ -108,7 +108,7 @@ int CmdHFTune(const char *Cmd) { } mode[0] = 2; // loop forever (till button pressed) if iter = 0 (default) - for (uint8_t i=0; iter == 0 || i< iter; i++) { + for (uint8_t i = 0; iter == 0 || i < iter; i++) { if (ukbhit()) { // abort by keyboard press int gc = getchar(); (void)gc; diff --git a/client/ui.c b/client/ui.c index 5d0d4c836..91aaed35a 100644 --- a/client/ui.c +++ b/client/ui.c @@ -92,7 +92,7 @@ void PrintAndLogEx(logLevel_t level, const char *fmt, ...) { strncpy(prefix, spinner[PrintAndLogEx_spinidx], sizeof(prefix) - 1); PrintAndLogEx_spinidx++; if (PrintAndLogEx_spinidx == ARRAYLEN(spinner)) - PrintAndLogEx_spinidx = 0; + PrintAndLogEx_spinidx = 0; break; case NORMAL: // no prefixes for normal