[SerialImpl]: add function to return pollfd

This commit is contained in:
Alexander Lerach
2025-12-09 18:42:46 +01:00
parent 73a8fc8fb0
commit f0d40d7a43
6 changed files with 29 additions and 0 deletions
+5
View File
@@ -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();