no printf

This commit is contained in:
iceman1001 2020-08-29 14:33:35 +02:00
commit cbd35c49a6

View file

@ -298,13 +298,13 @@ static void PacketResponseReceived(PacketResponseNG *packet) {
PrintAndLogEx(NORMAL, "[" _BLUE_("#") "] %s", s); PrintAndLogEx(NORMAL, "[" _BLUE_("#") "] %s", s);
} else { } else {
if (flag & FLAG_INPLACE) if (flag & FLAG_INPLACE)
printf("\r"); PrintAndLogEx(NORMAL, "\r" NOLF);
printf("%s", s);
if (flag & FLAG_NEWLINE)
printf("\r\n");
}
fflush(stdout); PrintAndLogEx(NORMAL, "%s" NOLF, s);
if (flag & FLAG_NEWLINE)
PrintAndLogEx(NORMAL, "");
}
break; break;
} }
case CMD_DEBUG_PRINT_INTEGERS: { case CMD_DEBUG_PRINT_INTEGERS: {