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

update PROBE_TEMP_COMPENSATION section to not include float/unsigned identifiers #519

Merged
merged 2 commits into from
Jun 13, 2021

Conversation

slowbro
Copy link
Member

@slowbro slowbro commented Jun 13, 2021

Requirements

See MarlinFirmware/Marlin#22130

Description

The 'probe_temp_compenation' feature was moved to celsius_t at some point in the last few months, but the default config was not updated, and users previously using float vals in BTC_SAMPLE_START, BTC_SAMPLE_RES, PTC_SAMPLE_START, PTC_SAMPLE_RES, etc are being met with narrowing conbversion errors that break compilation.

Benefits

Fixes up the default config from the replacement of float with celsius_t in probe_temp_compensation.h, and adds new sanity checks for floats which will warn users with old configs.

Related Issues

MarlinFirmware/Marlin#22130
MarlinFirmware/Marlin#22044

@thinkyhead thinkyhead merged commit 4140399 into MarlinFirmware:import-2.0.x Jun 13, 2021
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