Skip to content

Commit

Permalink
fix: compile error with FastLED
Browse files Browse the repository at this point in the history
  • Loading branch information
hideakitai committed Jul 13, 2024
1 parent 25e768c commit 1adbac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Artnet/Receiver.h
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ class Receiver_
}
void forwardArtDmxDataToFastLED(uint16_t universe, CRGB* leds, uint16_t num)
{
this->subscribeArtDmxUniverse(universe, [leds, num](const uint8_t* data, const uint16_t size, const ArtDmxMetadata &, const RemoteInfo &) {
this->subscribeArtDmxUniverse(universe, [this, leds, num](const uint8_t* data, const uint16_t size, const ArtDmxMetadata &, const RemoteInfo &) {
size_t n;
if (num <= size / 3) {
// OK: requested number of LEDs is less than received data size
Expand Down

0 comments on commit 1adbac3

Please sign in to comment.