MCPcopy Create free account
hub / github.com/FastLED/FastLED / renderFloat

Function renderFloat

tests/profile/profile_flowfield.cpp:25–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23static const int PROFILE_FRAMES = 200;
24
25__attribute__((noinline))
26void renderFloat(FlowFieldFloat &fx, CRGB *leds, int frames, int start_frame) {
27 for (int i = 0; i < frames; i++) {
28 uint32_t t = static_cast<uint32_t>((start_frame + i) * 33);
29 Fx::DrawContext ctx(t, leds);
30 fx.draw(ctx);
31 }
32}
33
34__attribute__((noinline))
35void renderFP(FlowFieldFP &fx, CRGB *leds, int frames, int start_frame) {

Callers 1

mainFunction · 0.70

Calls 1

drawMethod · 0.45

Tested by

no test coverage detected