Skip to content

Commit a283b52

Browse files
joaomariolagopatrickelectric
authored andcommitted
hal:link:serial-link:Fix asio post to use new impl
* Move to use new boost::asio::post for newer boost versions
1 parent 9304a7d commit a283b52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hal/link/desktop/serial-link.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ SerialLink::SerialLink(const std::string& port, uint32_t baudrate)
3434
}
3535

3636
// Bind event loop start with the async read schedulement
37-
_context.eventLoop.post(boost::bind(&SerialLink::bindRead, this));
37+
boost::asio::post(_context.eventLoop, boost::bind(&SerialLink::bindRead, this));
3838

3939
runEventLoop();
4040

0 commit comments

Comments
 (0)