diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-11-29 11:22:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-29 11:22:31 -0500 |
commit | 81ea909467c8a5bfbd803c58e685c5de74dbc249 (patch) | |
tree | 68f0649a449fda9c65c3f1f0d9d1de0c5a43ff46 /quantum/rgblight.c | |
parent | 51ae6da99edd732ccdec6e102bd757e08950d23b (diff) | |
parent | 4094544d41450617bc21ab58646603b8964eae0e (diff) | |
download | firmware-81ea909467c8a5bfbd803c58e685c5de74dbc249.tar.gz firmware-81ea909467c8a5bfbd803c58e685c5de74dbc249.tar.bz2 firmware-81ea909467c8a5bfbd803c58e685c5de74dbc249.zip |
Merge pull request #919 from jackhumbert/hf/robot_test_layout
Test layout for ErgoDox EZ manufacturing robot
Diffstat (limited to 'quantum/rgblight.c')
-rw-r--r-- | quantum/rgblight.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/quantum/rgblight.c b/quantum/rgblight.c index bb03d6e91..625971e0f 100644 --- a/quantum/rgblight.c +++ b/quantum/rgblight.c @@ -425,6 +425,12 @@ void rgblight_timer_toggle(void) { dprintf("TIMER3 toggled.\n"); } +void rgblight_show_solid_color(uint8_t r, uint8_t g, uint8_t b) { + rgblight_enable(); + rgblight_mode(1); + rgblight_setrgb(r, g, b); +} + void rgblight_task(void) { if (rgblight_timer_enabled) { // mode = 1, static light, do nothing here |