Fix M0 unused var warning
This commit is contained in:
parent
dd6781217a
commit
5ec1a8bb2b
1 changed files with 5 additions and 3 deletions
|
@ -56,10 +56,12 @@ void GcodeSuite::M0_M1() {
|
||||||
|
|
||||||
planner.synchronize();
|
planner.synchronize();
|
||||||
|
|
||||||
|
#if HAS_LCD_MENU || HAS_LEDS_OFF_FLAG
|
||||||
const bool seenQ = parser.seen('Q');
|
const bool seenQ = parser.seen('Q');
|
||||||
#if HAS_LEDS_OFF_FLAG
|
#if HAS_LEDS_OFF_FLAG
|
||||||
if (seenQ) printerEventLEDs.onPrintCompleted(); // Change LED color for Print Completed
|
if (seenQ) printerEventLEDs.onPrintCompleted(); // Change LED color for Print Completed
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if HAS_LCD_MENU
|
#if HAS_LCD_MENU
|
||||||
|
|
||||||
|
|
Reference in a new issue