Skip to content

Commit 7098f1b

Browse files
committed
UARTSerial stub: add enable calls
1 parent f91d044 commit 7098f1b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

UNITTESTS/stubs/UARTSerial_stub.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,16 @@ void UARTSerial::tx_irq(void)
120120
{
121121
}
122122

123+
int UARTSerial::enable_input(bool enabled)
124+
{
125+
return 0;
126+
}
127+
128+
int UARTSerial::enable_output(bool enabled)
129+
{
130+
return 0;
131+
}
132+
123133
void UARTSerial::wait_ms(uint32_t millisec)
124134
{
125135

0 commit comments

Comments
 (0)