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

minor constexpr cleanup #9191

Merged
merged 5 commits into from
Apr 3, 2018
Merged

minor constexpr cleanup #9191

merged 5 commits into from
Apr 3, 2018

Conversation

dagar
Copy link
Member

@dagar dagar commented Mar 29, 2018

Overall saves a bit of RAM, and flash changes are a wash.

Master px4fmu-v2 MC.

nsh> free
	     total       used       free    largest
Mem:        238576     184736      53840      53152

This branch same configuration.

nsh> free
	     total       used       free    largest
Mem:        238432     183376      55056      50704

bkueng
bkueng previously approved these changes Apr 3, 2018
/* search for stream with specified name in supported streams list */
for (unsigned int i = 0; streams_list[i] != nullptr; i++) {
// search for stream with specified name in supported streams list
// create new instance if found */
Copy link
Member

Choose a reason for hiding this comment

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

left-over */

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks, fixed.

@dagar dagar merged commit f145b65 into master Apr 3, 2018
@dagar dagar deleted the pr-constexpr_minor branch April 3, 2018 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants