You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
just checked code and noticed that when zonethree, zonefour etc max( starts with phrase "maxLEDs", then zonetwo starts with phrase "FIRSTZONE_LEDS".
is it typeo or it should be this way?
The text was updated successfully, but these errors were encountered:
`void calculateMax()
{
#if ZONEONE == 1
maxLEDs = FIRSTZONE_LEDS;
#endif
#if ZONETWO == 1
maxLEDs = max(FIRSTZONE_LEDS, SECONDZONE_LEDS);
#endif
#if ZONETHREE == 1
maxLEDs = max(maxLEDs, THIRDZONE_LEDS);
#endif
#if ZONEFOUR == 1
maxLEDs = max(maxLEDs, FOURTHZONE_LEDS);
#endif
#if ZONEFIVE == 1
maxLEDs = max(maxLEDs, FIFTHZONE_LEDS);
#endif
#if ZONESIX == 1
maxLEDs = max(maxLEDs, SIXTHZONE_LEDS);
#endif
}`
just checked code and noticed that when zonethree, zonefour etc max( starts with phrase "maxLEDs", then zonetwo starts with phrase "FIRSTZONE_LEDS".
is it typeo or it should be this way?
The text was updated successfully, but these errors were encountered: