-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
`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?
Metadata
Metadata
Assignees
Labels
No labels