Skip to content

Commit c3937ef

Browse files
Merge pull request pixelmatix#75 from marcmerlin/patch-4
remove unused code that triggers build warnings
2 parents 539c06f + 305d79d commit c3937ef

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/SmartMatrixMultiplexedCalcEsp32_Impl.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,13 +503,15 @@ INLINE void SmartMatrix3<refreshDepth, matrixWidth, matrixHeight, panelType, opt
503503
templayer = templayer->nextLayer;
504504
}
505505

506+
/*
506507
union {
507508
uint8_t word;
508509
struct {
509510
// order of bits in word matches how GPIO connects to the display
510511
uint8_t GPIO_WORD_ORDER_8BIT;
511512
};
512513
} o0;
514+
*/
513515

514516
for(int j=0; j<COLOR_DEPTH_BITS; j++) {
515517
int maskoffset = 0;
@@ -820,14 +822,16 @@ INLINE void SmartMatrix3<refreshDepth, matrixWidth, matrixHeight, panelType, opt
820822
templayer = templayer->nextLayer;
821823
}
822824

825+
/*
823826
union {
824827
uint8_t word;
825828
struct {
826829
// order of bits in word matches how GPIO connects to the display
827830
uint8_t GPIO_WORD_ORDER_8BIT;
828831
};
829832
} o0;
830-
833+
*/
834+
831835
for(int j=0; j<COLOR_DEPTH_BITS; j++) {
832836
int maskoffset = 0;
833837
if(COLOR_DEPTH_BITS == 12) // 36-bit color

0 commit comments

Comments
 (0)