mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-05 07:36:14 +08:00
chg: lesser error message flooding
This commit is contained in:
parent
90dcd8665a
commit
9ba8655953
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ uint32_t uart_get_speed(const serial_port sp) {
|
||||||
bool uart_receive(const serial_port sp, byte_t* p_rx, size_t pszMaxRxLen, size_t* p_rxlen) {
|
bool uart_receive(const serial_port sp, byte_t* p_rx, size_t pszMaxRxLen, size_t* p_rxlen) {
|
||||||
int res = ReadFile(((serial_port_windows*)sp)->hPort, p_rx, pszMaxRxLen, (LPDWORD)p_rxlen, NULL);
|
int res = ReadFile(((serial_port_windows*)sp)->hPort, p_rx, pszMaxRxLen, (LPDWORD)p_rxlen, NULL);
|
||||||
if ( res == 0 ) {
|
if ( res == 0 ) {
|
||||||
printf("[!] UART error reading from port\n");
|
//printf("[!] UART error reading from port\n");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue