Use temperature accessors

This commit is contained in:
Scott Lahteine
2021-04-24 05:20:55 -05:00
parent 6f5800bd74
commit dfcccb63a1
6 changed files with 7 additions and 7 deletions

View File

@@ -67,7 +67,7 @@ static void _change_filament_with_preset() {
}
static void _change_filament_with_custom() {
_change_filament_with_temp(thermalManager.temp_hotend[MenuItemBase::itemIndex].target);
_change_filament_with_temp(thermalManager.degTargetHotend(MenuItemBase::itemIndex));
}
//