From 8430a09aaee9c19b9ea567d1c294b20d3eb7ee46 Mon Sep 17 00:00:00 2001 From: "Dirk O. Kaar" Date: Sun, 28 Mar 2021 22:15:23 +0200 Subject: [PATCH] Adapt MockUART.cpp --- tests/host/common/MockUART.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/host/common/MockUART.cpp b/tests/host/common/MockUART.cpp index c5d75ad96..dc6514ae4 100644 --- a/tests/host/common/MockUART.cpp +++ b/tests/host/common/MockUART.cpp @@ -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