Skip to content

Commit

Permalink
Merge pull request #46 from PaulStoffregen/master
Browse files Browse the repository at this point in the history
Fix harmless compiler warnings
  • Loading branch information
ladyada committed Apr 1, 2015
2 parents e1213ff + e80d484 commit 45376f8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Adafruit_NeoPixel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@

#include "Adafruit_NeoPixel.h"

Adafruit_NeoPixel::Adafruit_NeoPixel(uint16_t n, uint8_t p, uint8_t t) : numLEDs(n), numBytes(n * 3), pin(p), pixels(NULL)
,type(t), brightness(0), endTime(0)
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)
#ifdef __AVR__
,port(portOutputRegister(digitalPinToPort(p))),
pinMask(digitalPinToBitMask(p))
Expand Down

0 comments on commit 45376f8

Please sign in to comment.