Skip to content

Commit

Permalink
adjust OC4 final white cycle timing
Browse files Browse the repository at this point in the history
  • Loading branch information
vroland committed Jul 9, 2020
1 parent 5e91479 commit f69a043
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/epd_driver/epd_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const int contrast_cycles_4[15] = {30, 30, 20, 20, 30, 30, 30, 40,
40, 50, 50, 50, 100, 200, 300};

const int contrast_cycles_4_white[15] = {10, 10, 8, 8, 8, 8, 8, 10,
10, 15, 15, 20, 20, 50, 200};
10, 15, 15, 20, 20, 100, 300};

#elif defined(CONFIG_EPD_DISPLAY_TYPE_ED097TC2)
const int contrast_cycles_4[15] = {15, 8, 8, 8, 8, 8, 10, 10,
Expand Down Expand Up @@ -435,7 +435,7 @@ void epd_fill_rect(int x, int y, int w, int h,
uint8_t color, uint8_t *framebuffer) {
for (int i = x; i < x + w; i++) {
epd_draw_vline(i, y, h, color, framebuffer);
}
}
}

void epd_write_line(int x0, int y0, int x1, int y1,
Expand Down

0 comments on commit f69a043

Please sign in to comment.