diff --git a/src/display.cpp b/src/display.cpp index d6a797f..d03bdfb 100644 --- a/src/display.cpp +++ b/src/display.cpp @@ -29,13 +29,17 @@ int display_initialize() { 32, // height 1, // chain length pins, // pin mapping - //HUB75_I2S_CFG::FM6126A, // driver chip HUB75_I2S_CFG::ICN2038S, // driver chip true, // double-buffering - //HUB75_I2S_CFG::HZ_10M); - HUB75_I2S_CFG::HZ_8M); + HUB75_I2S_CFG::HZ_10M); + + mxconfig.latch_blanking = 4; + mxconfig.clkphase = false; + + _matrix = new MatrixPanel_I2S_DMA(mxconfig); + // Set brightness and clear the screen. if (!_matrix->begin()) { diff --git a/src/remote.c b/src/remote.c index 6eb1da9..5a1efbf 100644 --- a/src/remote.c +++ b/src/remote.c @@ -15,8 +15,8 @@ struct remote_state { size_t max; }; -#define HTTP_BUFFER_SIZE_MAX 512 * 1024 -#define HTTP_BUFFER_SIZE_DEFAULT 32 * 1024 +#define HTTP_BUFFER_SIZE_MAX 640 * 1024 +#define HTTP_BUFFER_SIZE_DEFAULT 40 * 1024 #define MAX(a, b) (((a) > (b)) ? (a) : (b)) #define MIN(a, b) (((a) < (b)) ? (a) : (b))