1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 20:18:52 +00:00

Merge pull request #6985 from Kaibob2/patch-1

Fix for #6980 (case_light compile problem when EXTENDED_CAPABILITIES_REPORT is enabled)
This commit is contained in:
Bob-the-Kuhn 2017-06-08 11:18:56 -05:00 committed by GitHub
commit a17ffe1ece

View File

@ -7827,7 +7827,6 @@ inline void gcode_M115() {
// CASE LIGHTS (M355)
#if HAS_CASE_LIGHT
SERIAL_PROTOCOLLNPGM("Cap:TOGGLE_LIGHTS:1");
bool USEABLE_HARDWARE_PWM(uint8_t pin);
if (USEABLE_HARDWARE_PWM(CASE_LIGHT_PIN)) {
SERIAL_PROTOCOLLNPGM("Cap:CASE_LIGHT_BRIGHTNESS:1");
}