Browse Source

Fix M0 unused var warning

vanilla_fb_2.0.x
Scott Lahteine 5 years ago
parent
commit
5ec1a8bb2b
  1. 8
      Marlin/src/gcode/lcd/M0_M1.cpp

8
Marlin/src/gcode/lcd/M0_M1.cpp

@ -56,9 +56,11 @@ void GcodeSuite::M0_M1() {
planner.synchronize();
const bool seenQ = parser.seen('Q');
#if HAS_LEDS_OFF_FLAG
if (seenQ) printerEventLEDs.onPrintCompleted(); // Change LED color for Print Completed
#if HAS_LCD_MENU || HAS_LEDS_OFF_FLAG
const bool seenQ = parser.seen('Q');
#if HAS_LEDS_OFF_FLAG
if (seenQ) printerEventLEDs.onPrintCompleted(); // Change LED color for Print Completed
#endif
#endif
#if HAS_LCD_MENU

Loading…
Cancel
Save