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

Remove SERIAL_FLOAT_PRECISION Requirement #2812

Conversation

thisiskeithb
Copy link
Contributor

@thisiskeithb thisiskeithb commented Jul 1, 2023

Description

Marlin will not report a temperature or position with more than two digits beyond the decimal place since it uses _MIN(SERIAL_FLOAT_PRECISION, 2) for temperature reporting and 2 will always be less than 4. Other values printed via serial are now hard-coded to use one or two digits.

Benefits

Removes unnecessary Marlin config change.

Related Issues

None. Discovered while working through other serial issues in Marlin.

Marlin will not report a temperature with more than two digits beyond the decimal place since it uses _MIN(SERIAL_FLOAT_PRECISION, 2) for temperature reporting and 2 will always be less than 4.
@thisiskeithb
Copy link
Contributor Author

thisiskeithb commented Aug 12, 2023

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.

1 participant