diff --git a/libraries/AP_DroneCAN/AP_DroneCAN_DNA_Server.cpp b/libraries/AP_DroneCAN/AP_DroneCAN_DNA_Server.cpp index fe7eff7cba..74ac9452cc 100644 --- a/libraries/AP_DroneCAN/AP_DroneCAN_DNA_Server.cpp +++ b/libraries/AP_DroneCAN/AP_DroneCAN_DNA_Server.cpp @@ -247,9 +247,9 @@ void AP_DroneCAN_DNA_Server::Database::write_record(const NodeRecord &record, ui AP_DroneCAN_DNA_Server::AP_DroneCAN_DNA_Server(AP_DroneCAN &ap_dronecan, CanardInterface &canard_iface, uint8_t driver_index) : + storage(StorageManager::StorageCANDNA), _ap_dronecan(ap_dronecan), _canard_iface(canard_iface), - storage(StorageManager::StorageCANDNA), allocation_sub(allocation_cb, driver_index), node_status_sub(node_status_cb, driver_index), node_info_client(_canard_iface, node_info_cb) {}