Skip to content

Commit

Permalink
AP_SerialManager: enable port registration for dronecan
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Nov 21, 2023
1 parent f8cfd3c commit 3bf2427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_SerialManager/AP_SerialManager_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3bf2427

Please sign in to comment.