mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-27 03:49:58 -07:00
Speedup and consolidate color lib with pointers
This commit is contained in:
@@ -50,9 +50,9 @@ void rgb_backlight_save_settings();
|
||||
* @param index What led to set the color to (0 - SK6805_LED_COUNT-1)
|
||||
* @param color RGB color to use
|
||||
*/
|
||||
void rgb_backlight_set_color(uint8_t index, RgbColor color);
|
||||
void rgb_backlight_set_color(uint8_t index, const RgbColor* color);
|
||||
|
||||
RgbColor rgb_backlight_get_color(uint8_t index);
|
||||
void rgb_backlight_get_color(uint8_t index, RgbColor* color);
|
||||
|
||||
/**
|
||||
* @brief Change rainbow mode
|
||||
|
||||
Reference in New Issue
Block a user