Move M355 caselight to cpp

This commit is contained in:
Scott Lahteine committed 2017-09-21 16:27:09 -05:00
1 parent 59608086e6
commit 8ca0b2fd68
5 files changed
+89 -29

No files matched your search

+4 -4
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