Update to use new Focus.printColor API

pull/365/head
Jesse Vincent 8 years ago
parent 55c42928f9
commit 63835fa1bd
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -186,7 +186,7 @@ LEDControl_::focusHook (const char *command) {
if (Serial.peek () == '\n') { if (Serial.peek () == '\n') {
cRGB c = LEDControl.led_get_crgb_at (idx); cRGB c = LEDControl.led_get_crgb_at (idx);
Focus.printColor (c); Focus.printColor (c.r, c.g, c.b);
Serial.println (); Serial.println ();
} else { } else {
cRGB c; cRGB c;
@ -235,7 +235,7 @@ LEDControl_::focusHook (const char *command) {
for (uint8_t idx = 0; idx < LED_COUNT; idx++) { for (uint8_t idx = 0; idx < LED_COUNT; idx++) {
cRGB c = LEDControl.led_get_crgb_at (idx); cRGB c = LEDControl.led_get_crgb_at (idx);
Focus.printColor (c); Focus.printColor (c.r, c.g, c.b);
Focus.printSpace (); Focus.printSpace ();
} }
Serial.println (); Serial.println ();

Loading…
Cancel
Save