rudihorn
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
Marlin/src/feature/probe_temp_comp.cpp
|
@ -179,7 +179,7 @@ float ProbeTempComp::get_offset_for_temperature(const TempSensorID tsi, const fl |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
// Linear interpolation
|
|
|
// Linear interpolation
|
|
|
uint8_t idx = static_cast<uint8_t>(temp - start_temp / res_temp); |
|
|
uint8_t idx = static_cast<uint8_t>((temp - start_temp) / res_temp); |
|
|
|
|
|
|
|
|
// offset in um
|
|
|
// offset in um
|
|
|
float offset = 0.0f; |
|
|
float offset = 0.0f; |
|
|