Skip to content

Commit

Permalink
config: Do not mess with I2C rows/cols if not in LCD compat mode
Browse files Browse the repository at this point in the history
  • Loading branch information
keirf committed Oct 9, 2019
1 parent 78733a9 commit a3d595f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ static void config_write_flash(struct config *conf)

static void lcd_display_update(void)
{
if (i2c_osd_protocol)
return;
i2c_display.rows = config.rows;
i2c_display.cols = config.min_cols;
}
Expand Down

0 comments on commit a3d595f

Please sign in to comment.