Skip to content

Commit

Permalink
Initialize the full length of a chain of FM6126A panels.
Browse files Browse the repository at this point in the history
This should fix #947 (can't test, don't have such panels myself)
  • Loading branch information
hzeller committed Dec 24, 2019
1 parent 9a8a2c1 commit dba1328
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/led-matrix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,8 @@ void RGBMatrix::SetGPIO(GPIO *io, bool start_thread) {
!params_.disable_hardware_pulsing,
params_.pwm_lsb_nanoseconds, params_.pwm_dither_bits,
params_.row_address_type);
Framebuffer::InitializePanels(io_, params_.panel_type, params_.cols);
Framebuffer::InitializePanels(io_, params_.panel_type,
params_.cols * params_.chain_length);
}
if (start_thread) {
StartRefresh();
Expand Down

0 comments on commit dba1328

Please sign in to comment.