mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 17:23:33 +08:00
board_common:Update description to include paramater.
This commit is contained in:
committed by
Lorenz Meier
parent
a7a1607689
commit
6f665aee55
@@ -392,13 +392,13 @@ typedef uint8_t px4_guid_t[PX4_GUID_BYTE_LENGTH];
|
|||||||
* Name: board_supports_single_wire
|
* Name: board_supports_single_wire
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* A board may provide an RC_SERIAL_PORT that supports single wire.
|
* A board may provide serial ports that supports single wire.
|
||||||
* This interface will call into the board support code to determine
|
* This interface will call into the board support code to determine
|
||||||
* if the interface is available at runtime, on this version of the
|
* if the interface is available at runtime, on this version of the
|
||||||
* hardware.
|
* hardware.
|
||||||
*
|
*
|
||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
* None
|
* uxart_base - the base address of the UxART.
|
||||||
*
|
*
|
||||||
* Returned Value:
|
* Returned Value:
|
||||||
* true the hardware supports this interface.
|
* true the hardware supports this interface.
|
||||||
@@ -409,7 +409,7 @@ typedef uint8_t px4_guid_t[PX4_GUID_BYTE_LENGTH];
|
|||||||
#if !defined(BOARD_HAS_SINGLE_WIRE)
|
#if !defined(BOARD_HAS_SINGLE_WIRE)
|
||||||
# define board_supports_single_wire(_uxart_base) false
|
# define board_supports_single_wire(_uxart_base) false
|
||||||
#else
|
#else
|
||||||
__EXPORT bool board_supports_single_wire(uint32_t _uxart_base);
|
__EXPORT bool board_supports_single_wire(uint32_t uxart_base);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user