mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
AP_UAVCAN: ensure that we publish allocation messages in STD CAN format
This commit is contained in:
parent
47e710c21a
commit
3569435531
@ -276,7 +276,7 @@ bool AP_UAVCAN_DNA_Server::init(AP_UAVCAN *ap_uavcan)
|
||||
server_state = HEALTHY;
|
||||
|
||||
//Setup publisher for this driver index
|
||||
allocation_pub[driver_index] = new uavcan::Publisher<uavcan::protocol::dynamic_node_id::Allocation>(*_node);
|
||||
allocation_pub[driver_index] = new uavcan::Publisher<uavcan::protocol::dynamic_node_id::Allocation>(*_node, true);
|
||||
if (allocation_pub[driver_index] == nullptr) {
|
||||
AP_BoardConfig::allocation_error("AP_UAVCAN_DNA: allocation_pub[%d]", driver_index);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user