Still allow for pin to be passed in

This will allow code to be run across platform without modifiying
This commit is contained in:
Michael Miller
2016-09-03 09:21:50 -07:00
parent 70e3611bdf
commit 1387d66d51
2 changed files with 8 additions and 0 deletions

View File

@@ -114,6 +114,10 @@ public:
s_this = this; // store this for the ISR s_this = this; // store this for the ISR
} }
NeoEsp8266DmaMethodBase(uint8_t pin, uint16_t pixelCount, size_t elementSize) : NeoEsp8266DmaMethodBase(pixelCount, elementSize)
{
}
~NeoEsp8266DmaMethodBase() ~NeoEsp8266DmaMethodBase()
{ {
StopDma(); StopDma();

View File

@@ -101,6 +101,10 @@ public:
: T_BASE(pixelCount, elementSize) : T_BASE(pixelCount, elementSize)
{ {
} }
NeoEsp8266UartMethodBase(uint8_t pin, uint16_t pixelCount, size_t elementSize)
: T_BASE(pixelCount, elementSize)
{
}
bool IsReadyToUpdate() const bool IsReadyToUpdate() const
{ {