Merge pull request #43 from algernon/h/LEDs/get-crgb-at-warning-fix

Fix a warning in led_get_crgb_at
pull/45/head
Jesse Vincent 8 years ago committed by GitHub
commit 774eb1efb1

@ -50,6 +50,8 @@ cRGB Model01::led_get_crgb_at(uint8_t i) {
return leftHand.ledData.leds[i]; return leftHand.ledData.leds[i];
} else if (i<64) { } else if (i<64) {
return rightHand.ledData.leds[i-32] ; return rightHand.ledData.leds[i-32] ;
} else {
return {0, 0, 0};
} }
} }

Loading…
Cancel
Save