Permalink
Browse files

Updated the tests for the new Serial API.

  • Loading branch information...
1 parent fbfd95d commit 485a9fb9a3cd3ff90b01f5e9e3bdfef0356877bd @wjwwood committed Aug 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/serial_tests.cc
@@ -53,7 +53,7 @@ class SerialTests : public ::testing::Test {
ASSERT_TRUE(slave_fd > 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() {

0 comments on commit 485a9fb

Please sign in to comment.