Skip to content

Commit

Permalink
m3 m5 float with disabled laser device
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasToka committed Jul 28, 2023
1 parent 6233ef7 commit f3f2881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/gcode/control/M3-M5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ void GcodeSuite::M3_M4(const bool is_M4) {
#if ENABLED(LASER_FEATURE)
float u = cutter.unitPower;
#else
float u;
float u = 0.0f;
#endif
if (parser.seenval('S')) {
const float v = parser.value_float();
Expand Down

0 comments on commit f3f2881

Please sign in to comment.