mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-03 01:41:37 +08:00
px4fmu-v5:Support board_supports_single_wire query by UxART
This commit is contained in:
committed by
Lorenz Meier
parent
ab49b42f1c
commit
ec73e73934
@@ -59,11 +59,11 @@
|
|||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* All boards my optionally provide this API to invert the Serial RC input.
|
* All boards my optionally provide this API to invert the Serial RC input.
|
||||||
* This is needed on SoCs that support the notion RXINV or TXINV as apposed to
|
* This is needed on SoCs that support the notion RXINV or TXINV as opposed to
|
||||||
* and external XOR controlled by a GPIO
|
* and external XOR controlled by a GPIO
|
||||||
*
|
*
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
__EXPORT bool board_supports_single_wire(void)
|
__EXPORT bool board_supports_single_wire(uint32_t uxart_base)
|
||||||
{
|
{
|
||||||
return true;
|
return uxart_base == RC_UXART_BASE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user