Move M355 caselight to cpp

This commit is contained in:
Scott Lahteine
2017-09-17 18:56:29 -05:00
parent 59608086e6
commit 8ca0b2fd68
5 changed files with 89 additions and 29 deletions

View File

@ -130,6 +130,10 @@
#include "feature/leds/tempstat.h"
#endif
#if HAS_CASE_LIGHT
#include "feature/caselight.h"
#endif
bool Running = true;
/**
@ -358,8 +362,6 @@ void quickstop_stepper() {
SYNC_PLAN_POSITION_KINEMATIC();
}
#include "gcode/feature/caselight/M355.h"
#if ENABLED(MIXING_EXTRUDER)
#include "gcode/feature/mixing/M163.h"
#if MIXING_VIRTUAL_TOOLS > 1
@ -859,8 +861,6 @@ void setup() {
#endif
#if HAS_CASE_LIGHT
case_light_on = CASE_LIGHT_DEFAULT_ON;
case_light_brightness = CASE_LIGHT_DEFAULT_BRIGHTNESS;
update_case_light();
#endif