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
There are several places in xdrv_light.ino where max_scheme is calculated from LS_MAX +7
This has bitten me, as I tried adding another scheme - but having to change the code in 2-3 places.
Proposal: replace the +7 with a proper #define or an #enum like for LS_MAX.
I'm happy to submit a patch, if a way is preferred
(I added an enum in sonoff.h so far, but a define would also work).