FastLED 3.9.15
Loading...
Searching...
No Matches

◆ cleanup_R1()

LIB8STATIC_ALWAYS_INLINE void cleanup_R1 ( )

Clean up the r1 register after a series of *LEAVING_R1_DIRTY calls.

Definition at line 333 of file scale8.h.

333 {
334#if CLEANUP_R1_AVRASM == 1
335 // Restore r1 to "0"; it's expected to always be that
336 asm volatile("clr __zero_reg__ \n\t" : : : "r1");
337#endif
338}

References LIB8STATIC_ALWAYS_INLINE.

Referenced by blend8(), ColorFromPalette(), ColorFromPalette(), ColorFromPalette(), ColorFromPalette(), ColorFromPalette(), ColorFromPalette(), ColorFromPalette(), ColorFromPaletteExtended(), ColorFromPaletteExtended(), ColorFromPaletteExtended(), CRGB::getAverageLight(), CRGB::getLuma(), hsv2rgb_rainbow(), MyColorFromPaletteExtended(), nblend(), nblend(), nscale8x2(), nscale8x2_video(), nscale8x3(), and nscale8x3_video().

+ Here is the caller graph for this function: