AP_SerialManager: enable port registration for dronecan

This commit is contained in:
Andrew Tridgell 2023-11-19 11:05:00 +11:00
parent e63a2250ca
commit 65ffe713b4
1 changed files with 1 additions and 1 deletions

View File

@ -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