fix: passing a struct.

This commit is contained in:
iceman1001
2019-04-30 22:03:20 +02:00
parent e6315b88a1
commit f8f39d6196
5 changed files with 7 additions and 6 deletions

View File

@@ -73,7 +73,7 @@ struct timeval timeout = {
.tv_usec = UART_FPC_CLIENT_RX_TIMEOUT_MS * 1000
};
int uart_reconfigure_timeouts(serial_port *sp, uint32_t value ) {
int uart_reconfigure_timeouts(serial_port sp, uint32_t value ) {
timeout.tv_usec = value * 1000;
return PM3_SUCCESS;
}