Use PrintAndLogEx

This commit is contained in:
Philippe Teuwen 2019-04-14 18:51:07 +02:00
parent 9a7bba2438
commit 62f46d6544

View file

@ -301,8 +301,8 @@ __attribute__((force_align_arg_pointer))
bool OpenProxmark(void *port, bool wait_for_port, int timeout, bool flash_mode, uint32_t speed) {
char *portname = (char *)port;
printf("[=] Using UART port %s.\n", portname);
if (!wait_for_port) {
PrintAndLogEx(INFO, "Using UART port " _YELLOW_("%s"), portname);
sp = uart_open(portname, speed);
} else {
PrintAndLogEx(SUCCESS, "Waiting for Proxmark to appear on " _YELLOW_("%s"), portname);