mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-04 11:10:34 +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:
|
||||
* 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
|
||||
*
|
||||
************************************************************************************/
|
||||
__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