From 3c8443eeb8d7474d1093901cc5d53598b458b5c0 Mon Sep 17 00:00:00 2001 From: Emil Muratov Date: Sun, 28 Feb 2021 22:11:27 +0300 Subject: [PATCH] Fix compiler yells about reordering Signed-off-by: Emil Muratov --- ESP32-HUB75-MatrixPanel-I2S-DMA.h | 6 +++--- 1 file 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,