|
FastLED 3.9.15
|
| fl::u32 scale_power_for_brightness | ( | fl::u32 | total_mW, |
| fl::u8 | brightness ) |
Applies the configured power-scaling response to a total power value.
| total_mW | unscaled total power at full brightness |
| brightness | requested brightness in FastLED's 0-255 brightness space |
Definition at line 126 of file power_mgt.cpp.hpp.
References brightness, and map_power_value().
Referenced by calculate_max_brightness_for_power_mW(), calculate_max_brightness_for_power_mW(), and CFastLED::getEstimatedPowerInMilliWatts().
Here is the call graph for this function:
Here is the caller graph for this function: