Skip to content

Commit

Permalink
Merge pull request #169 from MitchBradley/fixrgb
Browse files Browse the repository at this point in the history
Fix #157 - disp field in rbgbus must not be left unitialized
  • Loading branch information
kdschlosser authored Nov 1, 2024
2 parents 0ee7f2c + 1d00bad commit 50327e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext_mod/lcd_bus/esp32_src/rgb_bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@
self->panel_io_config.data_gpio_nums[13] = (int)args[ARG_data13].u_int;
self->panel_io_config.data_gpio_nums[14] = (int)args[ARG_data14].u_int;
self->panel_io_config.data_gpio_nums[15] = (int)args[ARG_data15].u_int;
self->panel_io_config.disp_gpio_num = -1; // -1 means no GPIO is assigned to this function
self->panel_io_config.sram_trans_align = 8;
self->panel_io_config.psram_trans_align = 64;
self->panel_io_config.flags.refresh_on_demand = (uint32_t)args[ARG_refresh_on_demand].u_bool;
Expand Down

0 comments on commit 50327e5

Please sign in to comment.