From 63835fa1bde984fc9f9c185c6cd09fc855a006c5 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Wed, 3 May 2017 00:29:29 -0700 Subject: [PATCH] Update to use new Focus.printColor API --- src/Kaleidoscope-LEDControl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Kaleidoscope-LEDControl.cpp b/src/Kaleidoscope-LEDControl.cpp index f91697b6..77b80b48 100644 --- a/src/Kaleidoscope-LEDControl.cpp +++ b/src/Kaleidoscope-LEDControl.cpp @@ -186,7 +186,7 @@ LEDControl_::focusHook (const char *command) { if (Serial.peek () == '\n') { cRGB c = LEDControl.led_get_crgb_at (idx); - Focus.printColor (c); + Focus.printColor (c.r, c.g, c.b); Serial.println (); } else { cRGB c; @@ -235,7 +235,7 @@ LEDControl_::focusHook (const char *command) { for (uint8_t idx = 0; idx < LED_COUNT; idx++) { cRGB c = LEDControl.led_get_crgb_at (idx); - Focus.printColor (c); + Focus.printColor (c.r, c.g, c.b); Focus.printSpace (); } Serial.println ();