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 339 of file scale8.h.

339 {
340#if CLEANUP_R1_AVRASM == 1
341 // Restore r1 to "0"; it's expected to always be that
342 asm volatile("clr __zero_reg__ \n\t" : : : "r1");
343#endif
344}

References LIB8STATIC_ALWAYS_INLINE.

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

+ Here is the caller graph for this function: