mirror of https://github.com/ArduPilot/ardupilot
AP_SerialManager: enable port registration for dronecan
This commit is contained in:
parent
e63a2250ca
commit
65ffe713b4
|
@ -53,7 +53,7 @@
|
|||
|
||||
|
||||
#ifndef AP_SERIALMANAGER_REGISTER_ENABLED
|
||||
#define AP_SERIALMANAGER_REGISTER_ENABLED AP_NETWORKING_ENABLED
|
||||
#define AP_SERIALMANAGER_REGISTER_ENABLED BOARD_FLASH_SIZE > 1024 && (AP_NETWORKING_ENABLED || HAL_ENABLE_DRONECAN_DRIVERS)
|
||||
#endif
|
||||
|
||||
// serial ports registered by AP_Networking will use IDs starting at 21 for the first port
|
||||
|
|
Loading…
Reference in New Issue