Skip to content

Commit

Permalink
lk2nd: panel: generated: fix -Wunused-variable ili9881c_hd_video_off_…
Browse files Browse the repository at this point in the history
…command

```
In file included from lk2nd/display/panel/generated/panels.h:8:
lk2nd/display/panel/generated/lk_panel_ili9881c_hd_video.h:813:28: warning: 'ili9881c_hd_video_off_command' defined but not used [-Wunused-variable]
  813 | static struct mipi_dsi_cmd ili9881c_hd_video_off_command[] = {
      |
```
  • Loading branch information
bolilingmeng89006 authored and TravMurav committed Sep 8, 2024
1 parent 22f9c85 commit f53c308
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lk2nd/display/panel/generated/lk_panel_ili9881c_hd_video.h
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,9 @@ static inline void panel_ili9881c_hd_video_select(struct panel_struct *panel,
panel->panelresetseq = &ili9881c_hd_video_reset_seq;
panel->backlightinfo = &ili9881c_hd_video_backlight;
pinfo->mipi.panel_on_cmds = ili9881c_hd_video_on_command;
pinfo->mipi.panel_off_cmds = ili9881c_hd_video_off_command;
pinfo->mipi.num_of_panel_on_cmds = ARRAY_SIZE(ili9881c_hd_video_on_command);
pinfo->mipi.num_of_panel_off_cmds = ARRAY_SIZE(ili9881c_hd_video_off_command);
memcpy(phy_db->timing, ili9881c_hd_video_timings, TIMING_SIZE);
phy_db->regulator_mode = DSI_PHY_REGULATOR_LDO_MODE;
}
Expand Down

0 comments on commit f53c308

Please sign in to comment.