platform: use uint16_t type instead of unsigned int, for readability
This commit is contained in:
@@ -234,8 +234,8 @@ Platform::deviceID()
|
||||
}
|
||||
|
||||
void
|
||||
Platform::addLEDs(CRGB* leds, unsigned int ledCount) {
|
||||
FastLED.addLeds<WS2812B, RENDERBUG_LED_PIN, RENDERBUG_LED_PACKING>(leds, ledCount);
|
||||
Platform::addLEDs(CRGB* leds, uint16_t ledCount) {
|
||||
FastLED.addLeds<WS2812, RENDERBUG_LED_PIN, RENDERBUG_LED_PACKING>(leds, ledCount);
|
||||
}
|
||||
|
||||
const String
|
||||
|
Reference in New Issue
Block a user