mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_HAL: added check for RCOUT serial support
This commit is contained in:
parent
751c3a554a
commit
74bf83c39f
@ -260,4 +260,7 @@
|
||||
#define AP_MODULE_SUPPORTED 0
|
||||
#endif
|
||||
|
||||
#ifndef HAL_SUPPORT_RCOUT_SERIAL
|
||||
#define HAL_SUPPORT_RCOUT_SERIAL 0
|
||||
#endif
|
||||
|
||||
|
@ -77,3 +77,9 @@
|
||||
// allow for generic boards
|
||||
#define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_CHIBIOS_GENERIC
|
||||
#endif
|
||||
|
||||
#ifdef HAL_GPIO_LINE_GPIO50
|
||||
// we can only support RCOut serial if we have GPIO tags on the PWM
|
||||
// outputs of the board
|
||||
#define HAL_SUPPORT_RCOUT_SERIAL 1
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user