This commit is contained in:
iceman1001 2019-05-14 11:42:17 -04:00
commit 36ecc4be97
2 changed files with 2 additions and 2 deletions

View file

@ -108,7 +108,7 @@ int CmdHFTune(const char *Cmd) {
} }
mode[0] = 2; mode[0] = 2;
// loop forever (till button pressed) if iter = 0 (default) // 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 if (ukbhit()) { // abort by keyboard press
int gc = getchar(); int gc = getchar();
(void)gc; (void)gc;

View file

@ -92,7 +92,7 @@ void PrintAndLogEx(logLevel_t level, const char *fmt, ...) {
strncpy(prefix, spinner[PrintAndLogEx_spinidx], sizeof(prefix) - 1); strncpy(prefix, spinner[PrintAndLogEx_spinidx], sizeof(prefix) - 1);
PrintAndLogEx_spinidx++; PrintAndLogEx_spinidx++;
if (PrintAndLogEx_spinidx == ARRAYLEN(spinner)) if (PrintAndLogEx_spinidx == ARRAYLEN(spinner))
PrintAndLogEx_spinidx = 0; PrintAndLogEx_spinidx = 0;
break; break;
case NORMAL: case NORMAL:
// no prefixes for normal // no prefixes for normal