Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gudnimg authored and DRracer committed Jul 20, 2022
1 parent 96effd5 commit 7bf003d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Firmware/Marlin.h
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ extern void print_physical_coordinates();
extern void print_mesh_bed_leveling_table();

extern void stop_and_save_print_to_ram(float z_move, float e_move);
void restore_extruder_temperture_from_ram();
void restore_extruder_temperature_from_ram();
extern void restore_print_from_ram_and_continue(float e_move);
extern void cancel_saved_printing();

Expand Down
4 changes: 2 additions & 2 deletions Firmware/Marlin_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11307,7 +11307,7 @@ void stop_and_save_print_to_ram(float z_move, float e_move)
}
}

void restore_extruder_temperture_from_ram() {
void restore_extruder_temperature_from_ram() {
if (degTargetHotend(saved_active_extruder) != saved_extruder_temperature)
{
setTargetHotendSafe(saved_extruder_temperature, saved_active_extruder);
Expand Down Expand Up @@ -11340,7 +11340,7 @@ void restore_print_from_ram_and_continue(float e_move)
// current_position[axis] = st_get_position_mm(axis);
active_extruder = saved_active_extruder; //restore active_extruder
fanSpeed = saved_fanSpeed;
restore_extruder_temperture_from_ram();
restore_extruder_temperature_from_ram();
axis_relative_modes ^= (-saved_extruder_relative_mode ^ axis_relative_modes) & E_AXIS_MASK;
float e = saved_pos[E_AXIS] - e_move;
plan_set_e_position(e);
Expand Down
2 changes: 1 addition & 1 deletion Firmware/ultralcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6314,7 +6314,7 @@ void lcd_print_stop()
if (isPrintPaused)
{
// Restore temperature saved in ram after pausing print
restore_extruder_temperture_from_ram();
restore_extruder_temperature_from_ram();
}
MMU2::mmu2.unload(); //M702 C
}
Expand Down

0 comments on commit 7bf003d

Please sign in to comment.