mirror of https://github.com/ArduPilot/ardupilot
AP_SerialManager: allow hwdef.dat setup of serial5 config
This commit is contained in:
parent
560948dc69
commit
fca0ad4f85
|
@ -25,7 +25,10 @@
|
|||
|
||||
extern const AP_HAL::HAL& hal;
|
||||
|
||||
#ifdef CONFIG_ARCH_BOARD_PX4FMU_V4
|
||||
#ifdef HAL_SERIAL5_PROTOCOL
|
||||
#define SERIAL5_PROTOCOL HAL_SERIAL5_PROTOCOL
|
||||
#define SERIAL5_BAUD HAL_SERIAL5_BAUD
|
||||
#elif defined(CONFIG_ARCH_BOARD_PX4FMU_V4)
|
||||
#define SERIAL5_PROTOCOL SerialProtocol_MAVLink
|
||||
#define SERIAL5_BAUD 921600
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue