|
@@ -233,7 +233,7 @@ void GcodeSuite::get_destination_from_command() {
|
233
|
233
|
if (WITHIN(parser.codenum, 1, TERN(ARC_SUPPORT, 3, 1)) || TERN0(BEZIER_CURVE_SUPPORT, parser.codenum == 5)) {
|
234
|
234
|
planner.laser_inline.status.isPowered = true;
|
235
|
235
|
if (parser.seen('I')) cutter.set_enabled(true); // This is set for backward LightBurn compatibility.
|
236
|
|
- if (parser.seen('S')) {
|
|
236
|
+ if (parser.seenval('S')) {
|
237
|
237
|
const float v = parser.value_float(),
|
238
|
238
|
u = TERN(LASER_POWER_TRAP, v, cutter.power_to_range(v));
|
239
|
239
|
cutter.menuPower = cutter.unitPower = u;
|