Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AP_DDS: Aggregate message #25329

Merged
merged 1 commit into from
Oct 24, 2023
Merged

Conversation

muramura
Copy link
Contributor

Some words are changed by flags.
I would consolidate the wording.

Copy link
Contributor

@khancyr khancyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would say ok, even if the nullptr change is debatable.

@khancyr khancyr added the ROS label Oct 20, 2023
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM. We'll be adding additional best effort streams, so I'm ok with consolidating the checks.

@Ryanf55
Copy link
Collaborator

Ryanf55 commented Oct 23, 2023

Nice cleanup! Always nice to have PR's that reduce flash that still have readable code. Thanks for the contribution.

output_reliable_stream = new uint8_t[DDS_BUFFER_SIZE];
if (output_reliable_stream == nullptr) {
if (input_reliable_stream == nullptr || output_reliable_stream == nullptr) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we should be attempting to free memory here.

@peterbarker peterbarker merged commit dc95121 into ArduPilot:master Oct 24, 2023
86 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants