Matching sign across filwidth vars

This commit is contained in:
Scott Lahteine
2017-12-20 00:17:19 -06:00
parent 3cde4c78b2
commit 913d9e9a59
4 changed files with 11 additions and 11 deletions

View File

@ -56,7 +56,7 @@ void GcodeSuite::M405() {
}
if (filwidth_delay_index[1] == -1) { // Initialize the ring buffer if not done since startup
const uint8_t temp_ratio = thermalManager.widthFil_to_size_ratio();
const int8_t temp_ratio = thermalManager.widthFil_to_size_ratio();
for (uint8_t i = 0; i < COUNT(measurement_delay); ++i)
measurement_delay[i] = temp_ratio;