1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-25 20:02:37 +03:00

Adapt MockUART.cpp

This commit is contained in:
Dirk O. Kaar 2021-03-28 22:15:23 +02:00
parent 2cf76ba784
commit 8430a09aae

View File

@ -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