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

Implement escaped percentage support in eprintf #1127

Merged
merged 1 commit into from Oct 5, 2022

Conversation

ataffanel
Copy link
Member

@ataffanel ataffanel commented Oct 5, 2022

The current implementation of eprintf, used among other things to print in the Crazyflie console, does not support printing the percen (%) symbol.

Traditionally, with printf, the percent symbol can be printed by doubling it "%%". This currently makes the Crazyflie crash and the unit-test framework freeze.

This PR fixes the issue by implementing the handling of "%%".

Copy link
Contributor

@krichardsson krichardsson left a comment

Choose a reason for hiding this comment

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

Merge it!

@ataffanel ataffanel merged commit e08c6a6 into master Oct 5, 2022
@ataffanel ataffanel deleted the ataffanel/dev-eprintf-percent branch October 5, 2022 20:11
@krichardsson krichardsson added this to the 2022.12 milestone Dec 13, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants