Skip to content

Commit

Permalink
Merge pull request #17 from clay-to-n/master
Browse files Browse the repository at this point in the history
Changed initializer list order to stop warnings
  • Loading branch information
technobly committed Jan 3, 2016
2 parents 8050373 + c97c88b commit e1076a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/neopixel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
#define pinSet(_pin, _hilo) (_hilo ? pinHI(_pin) : pinLO(_pin))

Adafruit_NeoPixel::Adafruit_NeoPixel(uint16_t n, uint8_t p, uint8_t t) :
numLEDs(n), numBytes(n*3), pin(p), brightness(0), pixels(NULL), type(t), endTime(0)
numLEDs(n), numBytes(n*3), type(t), pin(p), brightness(0), pixels(NULL), endTime(0)
{
if((pixels = (uint8_t *)malloc(numBytes))) {
memset(pixels, 0, numBytes);
Expand Down

0 comments on commit e1076a5

Please sign in to comment.