Skip to content

Commit b3b7f98

Browse files
author
Sebastian Stockhammer
committed
Fix stub constructor
1 parent 0a395b6 commit b3b7f98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

UNITTESTS/stubs/SerialBase_stub.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919

2020
namespace mbed {
2121

22-
SerialBase::SerialBase(PinName tx, PinName rx, int baud)
22+
SerialBase::SerialBase(PinName tx, PinName rx, int baud) :
23+
_tx_pin(tx), _rx_pin(rx)
2324
{
2425
}
2526

0 commit comments

Comments
 (0)