1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-24 04:29:34 +00:00

Fix set_led_color for BLINKM

Follow-up to #5330
This commit is contained in:
Scott Lahteine 2016-12-03 01:51:11 -06:00 committed by GitHub
parent b0361ebe4f
commit 27dd5acc22

View File

@ -5965,11 +5965,7 @@ inline void gcode_M121() { endstops.enable_globally(false); }
#if ENABLED(BLINKM)
// This variant uses i2c to send the RGB components to the device.
SendColors(
code_seen('R') ? code_value_byte() : 0,
code_seen('U') ? code_value_byte() : 0,
code_seen('B') ? code_value_byte() : 0
);
SendColors(r, g, b);
#else