Fix for #6980
Line 7830 prevented successfull compilation when #define CASE_LIGHT_ENABLE is uncommented
This commit is contained in:
parent
1419126721
commit
c2eff60d3f
|
@ -7827,7 +7827,6 @@ inline void gcode_M115() {
|
||||||
// CASE LIGHTS (M355)
|
// CASE LIGHTS (M355)
|
||||||
#if HAS_CASE_LIGHT
|
#if HAS_CASE_LIGHT
|
||||||
SERIAL_PROTOCOLLNPGM("Cap:TOGGLE_LIGHTS:1");
|
SERIAL_PROTOCOLLNPGM("Cap:TOGGLE_LIGHTS:1");
|
||||||
bool USEABLE_HARDWARE_PWM(uint8_t pin);
|
|
||||||
if (USEABLE_HARDWARE_PWM(CASE_LIGHT_PIN)) {
|
if (USEABLE_HARDWARE_PWM(CASE_LIGHT_PIN)) {
|
||||||
SERIAL_PROTOCOLLNPGM("Cap:CASE_LIGHT_BRIGHTNESS:1");
|
SERIAL_PROTOCOLLNPGM("Cap:CASE_LIGHT_BRIGHTNESS:1");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue