QURT/SERIAL: Undo the breaking changes from commit 17f3db9231. (#26382)

A check was added for a non-existant parameter. This commit removes those.
This commit is contained in:
Eric Katzfey
2026-01-29 13:03:18 -08:00
committed by GitHub
parent 90fec17427
commit e37a216393

View File

@@ -416,12 +416,8 @@ bool SerialImpl::getSingleWireMode() const
bool SerialImpl::setSingleWireMode()
{
if (enable) {
PX4_ERR("Qurt platform does not support single wire mode");
return false;
}
return true;
}
bool SerialImpl::getSwapRxTxMode() const
@@ -431,12 +427,8 @@ bool SerialImpl::getSwapRxTxMode() const
bool SerialImpl::setSwapRxTxMode()
{
if (enable) {
PX4_ERR("Qurt platform does not support swap rx tx mode");
return false;
}
return true;
}
bool SerialImpl::setInvertedMode(bool enable)