mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-29 05:36:39 +00:00
Check SO88 to use separate DGR
This commit is contained in:
parent
1b437e5aad
commit
43ca3cc73a
@ -1355,7 +1355,10 @@ void LightInit(void)
|
|||||||
}
|
}
|
||||||
LightCalcPWMRange();
|
LightCalcPWMRange();
|
||||||
#ifdef USE_DEVICE_GROUPS
|
#ifdef USE_DEVICE_GROUPS
|
||||||
Light.device_group_index = Light.device - 1;
|
Light.device_group_index = 0;
|
||||||
|
if (Settings.flag4.multiple_device_groups) { // SetOption88 - Enable relays in separate device groups
|
||||||
|
Light.device_group_index = Light.device - 1;
|
||||||
|
}
|
||||||
#endif // USE_DEVICE_GROUPS
|
#endif // USE_DEVICE_GROUPS
|
||||||
#ifdef DEBUG_LIGHT
|
#ifdef DEBUG_LIGHT
|
||||||
AddLog_P(LOG_LEVEL_DEBUG_MORE, "LightInit Light.pwm_multi_channels=%d Light.subtype=%d Light.device=%d TasmotaGlobal.devices_present=%d",
|
AddLog_P(LOG_LEVEL_DEBUG_MORE, "LightInit Light.pwm_multi_channels=%d Light.subtype=%d Light.device=%d TasmotaGlobal.devices_present=%d",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user