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

Function map_power_value

src/power_mgt.cpp.hpp:110–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108#endif
109
110static fl::u8 map_power_value(fl::u8 brightness) {
111#if SKETCH_HAS_LARGE_MEMORY
112 return gPowerScaling().forward[brightness];
113#else
114 return brightness;
115#endif
116}
117
118static fl::u8 unmap_power_value(fl::u8 scaled_brightness) {
119#if SKETCH_HAS_LARGE_MEMORY

Calls

no outgoing calls

Tested by

no test coverage detected