Skip to content

Commit

Permalink
optimisation: combine a few functions calls into one
Browse files Browse the repository at this point in the history
Change in memory:
Flash: -34 bytes
SRAM: 0 bytes
  • Loading branch information
gudnimg authored and leptun committed Nov 19, 2024
1 parent 658df9d commit e84ade3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Firmware/ultralcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -857,14 +857,8 @@ void lcd_commands()
lay1cal_meander(layer_height, extrusion_width);
break;
case 6:
lay1cal_square(layer_height, extrusion_width);
break;
case 5:
lay1cal_square(layer_height, extrusion_width);
break;
case 4:
lay1cal_square(layer_height, extrusion_width);
break;
case 3:
lay1cal_square(layer_height, extrusion_width);
break;
Expand Down

0 comments on commit e84ade3

Please sign in to comment.