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

Libraries: Match output type and variable type #10151

Merged

Conversation

muramura
Copy link
Contributor

@muramura muramura commented Jan 1, 2019

I was detected with the cppcheck command that there was no output type and variable type.
I think that matching the type will increase the authenticity of the message.

@rmackay9
Copy link
Contributor

rmackay9 commented Jan 2, 2019

the AP_HAL formatting changes asnd RC_Channel changes look good to me. These change are pretty much only affecting debug messages so I think they are safe to merge as is.

@peterbarker
Copy link
Contributor

Looks like this should have been merged and wasn't. @muramura could you rebase, please?

@@ -435,7 +435,7 @@ static void PrintDebug(const Proto* f)
printf("upvalues (%d) for %p:\n",n,VOID(f));
for (i=0; i<n; i++)
{
printf("\t%d\t%s\t%d\t%d\n",
printf("\t%d\t%s\t%u\t%u\n",
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove the change here, this is external code dependencies, and I'd rather not add conflicts.

@peterbarker
Copy link
Contributor

@muramura this hasn't been rebased.

@tridge
Copy link
Contributor

tridge commented Apr 23, 2019

the RC decoders in AP_HAL/utility are going to be removed and replaced with AP_RCProtocol

@khancyr khancyr force-pushed the AP_Match_output_type_and_variable_type branch from e68a200 to 7dec784 Compare July 12, 2019 09:16
@khancyr
Copy link
Contributor

khancyr commented Jul 12, 2019

rebase, drop tabs change, address comment

@tridge tridge merged commit fa78987 into ArduPilot:master Jul 16, 2019
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants