|
@@ -532,7 +532,8 @@ public class IntLight_Controller extends DeviceManager
|
|
{
|
|
{
|
|
boolean AllLightON = false;
|
|
boolean AllLightON = false;
|
|
|
|
|
|
- for(int i=0 ; i<6 ; i++)
|
|
+ int count = mData.LightCount;
|
|
|
|
+ for(int i=0 ; i<count ; i++)
|
|
{
|
|
{
|
|
|
|
|
|
if(mData.LightStatus[i])
|
|
if(mData.LightStatus[i])
|