Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(513)

Unified Diff: target/dartuinoP0/display/LS013B7DH06.c

Issue 1741463002: [target][dartuinoP0] Allow for varying framebuffer format and stride. (Closed) Base URL: https://github.com/littlekernel/lk.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/gfx/gfx.c ('k') | target/dartuinoP0/display/LS027B7DH01.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: target/dartuinoP0/display/LS013B7DH06.c
diff --git a/target/dartuinoP0/display/LS013B7DH06.c b/target/dartuinoP0/display/LS013B7DH06.c
index 2b1f813999a0c028b5bc51a7a98839739738d2e1..5a3965ce9487f2f222e2e4c4806f060a2295d77c 100644
--- a/target/dartuinoP0/display/LS013B7DH06.c
+++ b/target/dartuinoP0/display/LS013B7DH06.c
@@ -29,7 +29,7 @@
uint8_t lcd_get_line(uint8_t *framebuffer, uint8_t idx, uint8_t *result)
{
- framebuffer += MLCD_WIDTH * idx;
+ framebuffer += FB_STRIDE * idx;
memset(result, 0, MLCD_BYTES_LINE);
« no previous file with comments | « lib/gfx/gfx.c ('k') | target/dartuinoP0/display/LS027B7DH01.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698