MCPcopy Create free account
hub / github.com/awawa-dev/HyperHDR / correction

Method correction

sources/led-strip/ChannelCalibration.cpp:92–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 return _correction;
91}
92uint8_t ChannelCalibration::correction(uint8_t input) const
93{
94 return (input * _correction) / 255;;
95}
96ColorRgb ChannelCalibration::getAdjustment() const
97{
98 return _targetCalibration;

Callers 1

calibrateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected