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

printf with long don't process arguments correctly #314

Closed
sdalu opened this issue May 3, 2018 · 2 comments
Closed

printf with long don't process arguments correctly #314

sdalu opened this issue May 3, 2018 · 2 comments
Milestone

Comments

@sdalu
Copy link
Contributor

sdalu commented May 3, 2018

Exemple:

DEBUG_PRINT("RRX %lx -> %lx %lx\n", 1l, 2l ,3l);
RRX 1 -> 1 1
@krichardsson
Copy link
Contributor

Yes, seems to be a problem. Thanks!

@krichardsson
Copy link
Contributor

The problem seems to be passing around va_list as an argument to functions, not really allowed actually. Changed to pass values instead of the va_list to the functions that handle long and long long.

@krichardsson krichardsson added this to the next-version milestone Oct 17, 2018
cafeciaojoe pushed a commit to cafeciaojoe/crazyflie-firmware that referenced this issue Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants