Move UART open msg to avoid flood in wait mode

This commit is contained in:
Philippe Teuwen 2019-04-14 18:49:19 +02:00
commit 9a7bba2438
3 changed files with 1 additions and 2 deletions

View file

@ -301,6 +301,7 @@ __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) {
sp = uart_open(portname, speed);
} else {