mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 10:46:31 +00:00
parent
ef3cb10dc7
commit
5c43f4c4c2
@ -1987,10 +1987,12 @@ bool isChannelGammaCorrected(uint32_t channel) {
|
|||||||
|
|
||||||
// is the channel a regular PWM or ColorTemp control
|
// is the channel a regular PWM or ColorTemp control
|
||||||
bool isChannelCT(uint32_t channel) {
|
bool isChannelCT(uint32_t channel) {
|
||||||
|
#ifdef ESP8266
|
||||||
if (PHILIPS == my_module_type) {
|
if (PHILIPS == my_module_type) {
|
||||||
if ((LST_COLDWARM == Light.subtype) && (1 == channel)) { return true; } // PMW reserved for CT
|
if ((LST_COLDWARM == Light.subtype) && (1 == channel)) { return true; } // PMW reserved for CT
|
||||||
if ((LST_RGBCW == Light.subtype) && (4 == channel)) { return true; } // PMW reserved for CT
|
if ((LST_RGBCW == Light.subtype) && (4 == channel)) { return true; } // PMW reserved for CT
|
||||||
}
|
}
|
||||||
|
#endif // ESP8266
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user