mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-14 08:10:35 +08:00
Added getPort back in to Serial interface. Only setPort needed to be removed
This commit is contained in:
@@ -130,4 +130,9 @@ bool Serial::setFlowcontrol(FlowControl flowcontrol)
|
||||
return _impl.setFlowcontrol(flowcontrol);
|
||||
}
|
||||
|
||||
const char *Serial::getPort() const
|
||||
{
|
||||
return _impl.getPort();
|
||||
}
|
||||
|
||||
} // namespace device
|
||||
|
||||
Reference in New Issue
Block a user