@@ -636,7 +636,7 @@ BusHub75Matrix::BusHub75Matrix(BusConfig &bc) : Bus(bc.type, bc.start, bc.autoWh
636636 mxconfig.mx_width = 64 ;
637637 mxconfig.mx_height = 64 ;
638638 break ;
639- case 104 : // untested
639+ case 104 :
640640 mxconfig.mx_width = 128 ;
641641 mxconfig.mx_height = 64 ;
642642 break ;
@@ -952,25 +952,25 @@ BusHub75Matrix::BusHub75Matrix(BusConfig &bc) : Bus(bc.type, bc.start, bc.autoWh
952952 switch (bc.type ) {
953953 case 105 :
954954 USER_PRINTLN (" MatrixPanel_I2S_DMA FOUR_SCAN_32PX_HIGH - 32x32" );
955- if (!fourScanPanel) fourScanPanel = new VirtualMatrixPanel ((*display), 1 , 1 , 32 , 32 );
955+ if (!fourScanPanel) fourScanPanel = new VirtualMatrixPanel ((*display), 1 , mxconfig. chain_length , 32 , 32 );
956956 fourScanPanel->setPhysicalPanelScanRate (FOUR_SCAN_32PX_HIGH);
957957 fourScanPanel->setRotation (0 );
958958 break ;
959959 case 106 :
960960 USER_PRINTLN (" MatrixPanel_I2S_DMA FOUR_SCAN_32PX_HIGH - 64x32" );
961- if (!fourScanPanel) fourScanPanel = new VirtualMatrixPanel ((*display), 1 , 1 , 64 , 32 );
961+ if (!fourScanPanel) fourScanPanel = new VirtualMatrixPanel ((*display), 1 , mxconfig. chain_length , 64 , 32 );
962962 fourScanPanel->setPhysicalPanelScanRate (FOUR_SCAN_32PX_HIGH);
963963 fourScanPanel->setRotation (0 );
964964 break ;
965965 case 107 :
966966 USER_PRINTLN (" MatrixPanel_I2S_DMA FOUR_SCAN_64PX_HIGH" );
967- if (!fourScanPanel) fourScanPanel = new VirtualMatrixPanel ((*display), 1 , 1 , 64 , 64 );
967+ if (!fourScanPanel) fourScanPanel = new VirtualMatrixPanel ((*display), 1 , mxconfig. chain_length , 64 , 64 );
968968 fourScanPanel->setPhysicalPanelScanRate (FOUR_SCAN_64PX_HIGH);
969969 fourScanPanel->setRotation (0 );
970970 break ;
971971 case 108 : // untested
972972 USER_PRINTLN (" MatrixPanel_I2S_DMA 128x64 FOUR_SCAN_64PX_HIGH" );
973- if (!fourScanPanel) fourScanPanel = new VirtualMatrixPanel ((*display), 1 , 1 , 128 , 64 );
973+ if (!fourScanPanel) fourScanPanel = new VirtualMatrixPanel ((*display), 1 , mxconfig. chain_length , 128 , 64 );
974974 fourScanPanel->setPhysicalPanelScanRate (FOUR_SCAN_64PX_HIGH);
975975 fourScanPanel->setRotation (0 );
976976 break ;
0 commit comments