mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-24 04:29:34 +00:00
parent
b0361ebe4f
commit
27dd5acc22
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user