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
Copy file name to clipboardExpand all lines: wled00/wled.h
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -372,7 +372,11 @@ WLED_GLOBAL byte bootPreset _INIT(0); // save preset to load
372
372
//if true, a segment per bus will be created on boot and LED settings save
373
373
//if false, only one segment spanning the total LEDs is created,
374
374
//but not on LED settings save if there is more than one segment currently
375
+
#ifdef WLED_AUTOSEGMENTS
376
+
WLED_GLOBAL bool autoSegments _INIT(true);
377
+
#else
375
378
WLED_GLOBAL bool autoSegments _INIT(false);
379
+
#endif
376
380
WLED_GLOBAL bool correctWB _INIT(false); // CCT color correction of RGB color
377
381
WLED_GLOBAL bool cctFromRgb _INIT(false); // CCT is calculated from RGB instead of using seg.cct
378
382
WLED_GLOBAL bool gammaCorrectCol _INIT(true ); // use gamma correction on colors // WLEDMM that's what you would think, but the code tells a different story.
0 commit comments