mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-22 19:54:57 +08:00
Updated the tests for the new Serial API.
This commit is contained in:
parent
fbfd95dc63
commit
485a9fb9a3
@ -53,7 +53,7 @@ protected:
|
|||||||
ASSERT_TRUE(slave_fd > 0);
|
ASSERT_TRUE(slave_fd > 0);
|
||||||
ASSERT_TRUE(string(name).length() > 0);
|
ASSERT_TRUE(string(name).length() > 0);
|
||||||
|
|
||||||
port1 = new Serial(string(name), 115200, 250);
|
port1 = new Serial(string(name), 115200, Timeout::simpleTimeout(250));
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void TearDown() {
|
virtual void TearDown() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user