Merge remote-tracking branch 'upstream/0_15' into 0_15__speed_improvements

This commit is contained in:
Damian Schneider
2024-09-18 08:10:45 +02:00
44 changed files with 1768 additions and 1912 deletions

View File

@@ -491,14 +491,14 @@ void NeoGammaWLEDMethod::calcGammaTable(float gamma)
}
}
uint8_t IRAM_ATTR NeoGammaWLEDMethod::Correct(uint8_t value)
uint8_t IRAM_ATTR_YN NeoGammaWLEDMethod::Correct(uint8_t value)
{
if (!gammaCorrectCol) return value;
return gammaT[value];
}
// used for color gamma correction
uint32_t IRAM_ATTR NeoGammaWLEDMethod::Correct32(uint32_t color)
uint32_t IRAM_ATTR_YN NeoGammaWLEDMethod::Correct32(uint32_t color)
{
if (!gammaCorrectCol) return color;
uint8_t w = W(color);