platform: use uint16_t type instead of unsigned int, for readability
This commit is contained in:
parent
4412fd8f1a
commit
ef74dc2178
@ -234,8 +234,8 @@ Platform::deviceID()
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
Platform::addLEDs(CRGB* leds, unsigned int ledCount) {
|
Platform::addLEDs(CRGB* leds, uint16_t ledCount) {
|
||||||
FastLED.addLeds<WS2812B, RENDERBUG_LED_PIN, RENDERBUG_LED_PACKING>(leds, ledCount);
|
FastLED.addLeds<WS2812, RENDERBUG_LED_PIN, RENDERBUG_LED_PACKING>(leds, ledCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
const String
|
const String
|
||||||
|
@ -11,7 +11,7 @@ class Platform : public Task {
|
|||||||
static BootOptions bootopts;
|
static BootOptions bootopts;
|
||||||
static void setTimezone(int tz) { s_timezone = tz; }
|
static void setTimezone(int tz) { s_timezone = tz; }
|
||||||
static int getTimezone() { return s_timezone; }
|
static int getTimezone() { return s_timezone; }
|
||||||
static void addLEDs(CRGB* leds, unsigned int ledCount);
|
static void addLEDs(CRGB* leds, uint16_t ledCount);
|
||||||
|
|
||||||
static const char* name();
|
static const char* name();
|
||||||
static const char* version();
|
static const char* version();
|
||||||
|
Loading…
Reference in New Issue
Block a user