Only enable double buffering for matrix portal due to memory issues on classic esp32
This commit is contained in:
@@ -490,7 +490,7 @@ void BusNetwork::cleanup() {
|
||||
|
||||
BusHub75Matrix::BusHub75Matrix(BusConfig &bc) : Bus(bc.type, bc.start, bc.autoWhite) {
|
||||
|
||||
mxconfig.double_buff = true; // <------------- Turn on double buffer
|
||||
mxconfig.double_buff = false; // default to off, known to cause issue with some effects but needs more memory
|
||||
|
||||
|
||||
fourScanPanel = nullptr;
|
||||
@@ -535,6 +535,8 @@ BusHub75Matrix::BusHub75Matrix(BusConfig &bc) : Bus(bc.type, bc.start, bc.autoWh
|
||||
|
||||
USER_PRINTLN("MatrixPanel_I2S_DMA - Matrix Portal S3 config");
|
||||
|
||||
mxconfig.double_buff = true; // <------------- Turn on double buffer
|
||||
|
||||
mxconfig.gpio.r1 = 42;
|
||||
mxconfig.gpio.g1 = 41;
|
||||
mxconfig.gpio.b1 = 40;
|
||||
|
||||
Reference in New Issue
Block a user