Browse Source

Merge pull request #6985 from Kaibob2/patch-1

Fix for #6980 (case_light compile problem when EXTENDED_CAPABILITIES_REPORT is enabled)
pull/1/head
Bob-the-Kuhn 8 years ago
committed by GitHub
parent
commit
a17ffe1ece
  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