aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2023-03-19 01:02:47 +0000
committermrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2023-03-19 01:02:47 +0000
commit30b74a246be08f484d2c8ed278f1352f7cb65a75 (patch)
tree15ad90147af57b5f319e956c2abd2a3420b62fb9 /src
parent92bce305f68901089213367e8ae27561f5f05ebb (diff)
ROW_SCAN_SHUFFLE
Diffstat (limited to 'src')
-rw-r--r--src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp2
-rw-r--r--src/ESP32-HUB75-MatrixPanel-I2S-DMA.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp b/src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp
index e21e36d..1d1738a 100644
--- a/src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp
+++ b/src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp
@@ -199,7 +199,7 @@ void MatrixPanel_I2S_DMA::configureDMA(const HUB75_I2S_CFG &_cfg)
}
- #ifdef NO_ROW_SCAN_SHUFFLE
+ #ifndef ROW_SCAN_SHUFFLE
// Fill DMA linked lists for both frames (as in, halves of the HUB75 panel) in sequence (top to bottom)
for (int row = 0; row < ROWS_PER_FRAME; row++)
#else
diff --git a/src/ESP32-HUB75-MatrixPanel-I2S-DMA.h b/src/ESP32-HUB75-MatrixPanel-I2S-DMA.h
index cc6e458..781bd80 100644
--- a/src/ESP32-HUB75-MatrixPanel-I2S-DMA.h
+++ b/src/ESP32-HUB75-MatrixPanel-I2S-DMA.h
@@ -29,7 +29,8 @@
// #define NO_CIE1931
-// #define NO_ROW_SCAN_SHUFFLE
+// Turn on rows being displayed out of order in a mixed manner.
+//#define ROW_SCAN_SHUFFLE
/* Physical / Chained HUB75(s) RGB pixel WIDTH and HEIGHT.
*