mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-08 02:30:34 +08:00
[SerialImpl]: add function to return pollfd
This commit is contained in:
@@ -69,6 +69,11 @@ bool Serial::close()
|
||||
return _impl.close();
|
||||
}
|
||||
|
||||
bool Serial::getPollFd(const px4_pollevent_t events, px4_pollfd_struct_t *pfd)
|
||||
{
|
||||
return _impl.getPollFd(events, pfd);
|
||||
}
|
||||
|
||||
ssize_t Serial::bytesAvailable()
|
||||
{
|
||||
return _impl.bytesAvailable();
|
||||
|
||||
Reference in New Issue
Block a user