aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Muratov <gpm@hotplug.ru>2021-02-28 22:11:27 +0300
committerEmil Muratov <gpm@hotplug.ru>2021-02-28 22:11:27 +0300
commit3c8443eeb8d7474d1093901cc5d53598b458b5c0 (patch)
tree06b74fb896df32a86884c735ebc95a1051e805eb
parent67d1d45a677da22626095ddb629850bb19cc0d1d (diff)
Fix compiler yells about reordering
Signed-off-by: Emil Muratov <gpm@hotplug.ru>
-rw-r--r--ESP32-HUB75-MatrixPanel-I2S-DMA.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ESP32-HUB75-MatrixPanel-I2S-DMA.h b/ESP32-HUB75-MatrixPanel-I2S-DMA.h
index c4c659a..7e94ca2 100644
--- a/ESP32-HUB75-MatrixPanel-I2S-DMA.h
+++ b/ESP32-HUB75-MatrixPanel-I2S-DMA.h
@@ -259,9 +259,6 @@ struct HUB75_I2S_CFG {
// How many clock cycles to blank OE before/after LAT signal change, default is 1 clock
uint8_t latch_blanking;
- // Minimum refresh / scan rate needs to be configured on start due to LSBMSB_TRANSITION_BIT calculation in allocateDMAmemory()
- uint8_t min_refresh_rate;
-
/**
* I2S clock phase
* 0 (default) - data lines are clocked with negative edge
@@ -277,6 +274,9 @@ struct HUB75_I2S_CFG {
*/
bool clkphase;
+ // Minimum refresh / scan rate needs to be configured on start due to LSBMSB_TRANSITION_BIT calculation in allocateDMAmemory()
+ uint8_t min_refresh_rate;
+
// struct constructor
HUB75_I2S_CFG (
uint16_t _w = MATRIX_WIDTH,