Skip to content

Commit

Permalink
Update esp pins for consistency in the code
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeshub committed Jul 28, 2019
1 parent 61b0306 commit 74b2e76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Adafruit_NeoPixel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ void Adafruit_NeoPixel::updateType(neoPixelType t) {
#if defined(ESP8266)
// ESP8266 show() is external to enforce ICACHE_RAM_ATTR execution
extern "C" void ICACHE_RAM_ATTR espShow(
uint8_t pin, uint8_t *pixels, uint32_t numBytes, uint8_t type);
uint16_t pin, uint8_t *pixels, uint32_t numBytes, uint8_t type);
#elif defined(ESP32)
extern "C" void espShow(
uint8_t pin, uint8_t *pixels, uint32_t numBytes, uint8_t type);
uint16_t pin, uint8_t *pixels, uint32_t numBytes, uint8_t type);
#endif // ESP8266

/*!
Expand Down

0 comments on commit 74b2e76

Please sign in to comment.