1
0
mirror of https://github.com/wjwwood/serial.git synced 2026-01-22 11:44:53 +08:00

Updated the tests for the new Serial API.

This commit is contained in:
William Woodall 2012-08-01 20:09:20 -05:00
parent fbfd95dc63
commit 485a9fb9a3

View File

@ -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() {