Update to use new Focus.printColor API

pull/365/head
Jesse Vincent 7 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') {
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 ();

Loading…
Cancel
Save