Browse Source

Fix for #6980

Line 7830 prevented successfull compilation when #define CASE_LIGHT_ENABLE is uncommented
pull/1/head
Kai 8 years ago
committed by GitHub
parent
commit
c2eff60d3f
  1. 1
      Marlin/Marlin_main.cpp

1
Marlin/Marlin_main.cpp

@ -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…
Cancel
Save