Skip to content

only handle own rmt interrupts - #647

Merged
focalintent merged 1 commit into
FastLED:masterfrom
h3ndrik:patch-3
Aug 31, 2018
Merged

focalintent merged 1 commit into
FastLED:masterfrom
h3ndrik:patch-3

Conversation

@h3ndrik

@h3ndrik h3ndrik commented Aug 31, 2018

Copy link
Copy Markdown
Contributor

Exit early if the interrupt is for another channel which is used by something else than FastLED.

This is needed if we use FASTLED_RMT_BUILTIN_DRIVER and lower FASTLED_RMT_MAX_CHANNELS in order to free some rmt channels for something else.
In this case doneOnChannel() is called for all rmt channels even if they don't belong to FastLED. So exit early in this case before the esp32 notices and reboots on its own.

Exit early if the interrupt is for another channel which is used by something else than FastLED.

This is needed if we use FASTLED_RMT_BUILTIN_DRIVER and lower FASTLED_RMT_MAX_CHANNELS in order to free some rmt channels for something else.
In this case doneOnChannel() is called for all rmt channels even if they don't belong to FastLED. So exit early in this case before the esp32 notices and reboots on its own.
@focalintent
focalintent merged commit 13c3ed5 into FastLED:master Aug 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants