Color mangling macros.

Removed legacy Auto White caclulation.
This commit is contained in:
Blaz Kristan
2021-10-26 20:35:45 +02:00
parent cde497c94e
commit a696afaeb8
12 changed files with 115 additions and 131 deletions

View File

@@ -69,7 +69,6 @@ void colorRGBtoXY(byte* rgb, float* xy); // only defined if huesync disabled TOD
void colorFromDecOrHexString(byte* rgb, char* in);
bool colorFromHexString(byte* rgb, const char* in);
void colorRGBtoRGBW(byte* rgb); //rgb to rgbw (http://codewelt.com/rgbw). (RGBW_MODE_LEGACY)
void colorBalanceFromKelvin(uint16_t kelvin, byte *rgb);
uint32_t colorBalanceFromKelvin(uint16_t kelvin, uint32_t rgb);