From ec73e73934e1f4eb6fa61bb373df4f1c3851583f Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Fri, 13 Jul 2018 11:42:23 -0700 Subject: [PATCH] px4fmu-v5:Support board_supports_single_wire query by UxART --- src/drivers/boards/px4fmu-v5/manifest.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/drivers/boards/px4fmu-v5/manifest.c b/src/drivers/boards/px4fmu-v5/manifest.c index ce735633d3..99bea68402 100644 --- a/src/drivers/boards/px4fmu-v5/manifest.c +++ b/src/drivers/boards/px4fmu-v5/manifest.c @@ -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; }