mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
hwdef: default 2nd USB endpoint to MAVLink2
This commit is contained in:
parent
d9492c1c6c
commit
9d5560fc42
@ -1908,7 +1908,7 @@ INCLUDE common.ld
|
||||
f.write('''
|
||||
#if defined(HAL_NUM_CAN_IFACES) && HAL_NUM_CAN_IFACES
|
||||
#ifndef HAL_OTG2_PROTOCOL
|
||||
#define HAL_OTG2_PROTOCOL SerialProtocol_SLCAN
|
||||
#define HAL_OTG2_PROTOCOL SerialProtocol_MAVLink2
|
||||
#endif
|
||||
#define DEFAULT_SERIAL%d_PROTOCOL HAL_OTG2_PROTOCOL
|
||||
#define DEFAULT_SERIAL%d_BAUD 115200
|
||||
|
Loading…
Reference in New Issue
Block a user