File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ if (NOT PICO_PROGRAM_MAIN_ENTRY)
1616 set (OUTPUT_SPI_INTERFACE spi0)
1717
1818 # Use multi-segment, starting index of second led strip or OFF to disable
19- set (SECOND_SEGMENT_INDEX OFF )
19+ set (SECOND_SEGMENT_INDEX 1 )
2020
2121 # If multi-segment is used and it's reversed, set this option to ON to enable reversing
2222 set (SECOND_SEGMENT_REVERSED OFF )
Original file line number Diff line number Diff line change @@ -131,12 +131,16 @@ class Base
131131 statistics.increaseShow ();
132132 readyToRender = false ;
133133
134- // if (getLedStripCount() > 1) {
134+ # if defined(SECOND_SEGMENT_START_INDEX)
135135 firstLedStrip->renderAllLanes ();
136- // } else {
137- // // render only the first strip
138- // firstLedStrip->renderSingleLane();
139- // }
136+ #else
137+ if (getLedStripCount () > 1 ) {
138+ firstLedStrip->renderAllLanes ();
139+ } else {
140+ // // render only the first strip
141+ firstLedStrip->renderSingleLane ();
142+ }
143+ #endif
140144 }
141145 }
142146
You can’t perform that action at this time.
0 commit comments