Skip to content

Commit

Permalink
AP_SerialManager: enable port registration on any dronecan enabled board
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Nov 19, 2023
1 parent ab93667 commit 1cc025d
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 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 1cc025d

Please sign in to comment.