Skip to content

Commit 553cf51

Browse files
committed
added: prepared antialiasPixelAR for alternative ledBuffer usage
1 parent bfa84d8 commit 553cf51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Map.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ void andPixelAR(uint8_t angle, uint8_t dAngle, uint8_t startRadius, uint8_t endR
7676
}
7777
}
7878

79-
void antialiasPixelAR(uint8_t angle, uint8_t dAngle, uint8_t startRadius, uint8_t endRadius, CRGB color)
79+
void antialiasPixelAR(uint8_t angle, uint8_t dAngle, uint8_t startRadius, uint8_t endRadius, CRGB color, CRGB leds[] = leds, int _NUM_LEDS = NUM_LEDS)
8080
{
81-
for (uint16_t i = 0; i < NUM_LEDS; i++) {
81+
for (uint16_t i = 0; i < _NUM_LEDS; i++) {
8282
uint8_t o = i;
8383

8484
uint8_t ao = angles[o];

0 commit comments

Comments
 (0)