This commit is contained in:
iceman1001 committed 2019-05-14 11:42:17 -04:00
1 parent eef53a853a
commit 36ecc4be97
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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