Skip to content

Commit

Permalink
Adapt MockUART.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
dok-net committed Mar 28, 2021
1 parent 2cf76ba commit 8430a09
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/host/common/MockUART.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -407,26 +407,29 @@ uart_uninit(uart_t* uart)
free(uart);
}

void
bool
uart_swap(uart_t* uart, int tx_pin)
{
(void) uart;
(void) tx_pin;
return true;
}

void
bool
uart_set_tx(uart_t* uart, int tx_pin)
{
(void) uart;
(void) tx_pin;
return true;
}

void
bool
uart_set_pins(uart_t* uart, int tx, int rx)
{
(void) uart;
(void) tx;
(void) rx;
return true;
}

bool
Expand Down

0 comments on commit 8430a09

Please sign in to comment.