I currently get the following error when trying to compile my code. I use SmartMatrix version 4.0.3.
In file included from .pio\libdeps\teensy41\SmartMatrix\src/SmartMatrix.h:222:
.pio\libdeps\teensy41\SmartMatrix\src/MatrixTeensy4Hub75Refresh_Impl.h: In instantiation of ‘SmartMatrixRefreshT4<refreshDepth, matrixWidth, matrixHeight, panelType, optionFlags>::SmartMatrixRefreshT4(uint8_t, volatile rowDataStruct*) [with int refreshDepth = 36; int matrixWidth = 128; int matrixHeight = 32; unsigned char panelType = 0; long unsigned int optionFlags = 0; uint8_t = unsigned char]’:
src\main.cpp:18:1: required from here
119 | SmartMatrixRefreshT4<pwm_depth, width, height, panel_type, option_flags> matrix_name##Refresh(buffer_rows, rowsDataBuffer);
| ^
.pio\libdeps\teensy41\SmartMatrix\src/MatrixTeensy4Hub75Refresh_Impl.h:110:10: error: section of alias ‘SmartMatrixRefreshT4<refreshDepth, matrixWidth, matrixHeight, panelType, optionFlags>::SmartMatrixRefreshT4(uint8_t, volatile rowDataStruct*) [with int refreshDepth = 36; int matrixWidth = 128; int matrixHeight = 32; unsigned char panelType = 0; long unsigned int optionFlags = 0; uint8_t = unsigned char]’ must match section of its target
110 | FLASHMEM SmartMatrixRefreshT4<refreshDepth, matrixWidth, matrixHeight, panelType, optionFlags>::SmartMatrixRefreshT4(uint8_t bufferrows, volatile rowDataStruct * rowDataBuf) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~