Skip to content

Commit

Permalink
Update NeoEspBitBangMethod.cpp (#834)
Browse files Browse the repository at this point in the history
  • Loading branch information
Makuna authored Sep 4, 2024
1 parent 0aa3d11 commit 1493799
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/internal/methods/NeoEspBitBangMethod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,13 @@ bool IRAM_ATTR neoEspBitBangWriteSpacingPixels(const uint8_t* pixels,
setRegister = &GPIO.out_w1ts.val;
clearRegister = &GPIO.out_w1tc.val;
}
#if !defined(CONFIG_IDF_TARGET_ESP32C3)
else
{
setRegister = &GPIO.out1_w1ts.val;
clearRegister = &GPIO.out1_w1tc.val;
}
#endif
#else // just ESP32, ESP32S2
if (pin < 32)
{
Expand Down

0 comments on commit 1493799

Please sign in to comment.