summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c b/firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c
index 8e36ff59d1..d071844860 100644
--- a/firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c
+++ b/firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c
@@ -400,10 +400,10 @@ void lcd_update_rect(int x, int y, int width, int height)
400 return; 400 return;
401 } 401 }
402 402
403 /* align horizontal position to even for wisechip display */ 403 /* update entire horizontal strip for display type 0 (wisechip) */
404 if (lcd_type == 0) { 404 if (lcd_type == 0) {
405 x = x & ~1; 405 x = 0;
406 x_end = (x_end + 1) & ~1; 406 x_end = 96;
407 } 407 }
408 408
409 /* correct rectangle (if necessary) */ 409 /* correct rectangle (if necessary) */