summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/sansa-clipzip
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2011-10-31 20:17:04 +0000
committerBertrik Sikken <bertrik@sikken.nl>2011-10-31 20:17:04 +0000
commit58543296c967096e3814a7abf65c84296d99d499 (patch)
tree55b61bad7ad0edc610328bcdb0e98dd87de5817b /firmware/target/arm/as3525/sansa-clipzip
parentd11e5201dccfb74f2c445500958b47d9ddcee741 (diff)
Sansa clip zip: attempt to fix the pixel format swappedness for good
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30873 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/sansa-clipzip')
-rw-r--r--firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c b/firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c
index cc30e19fcf..53d80cbbe7 100644
--- a/firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c
+++ b/firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c
@@ -372,8 +372,8 @@ void lcd_write_data(const fb_data *data, int count)
while (count--) {
pixel = *data++;
- lcd_write_dat((pixel >> 0) & 0xFF);
lcd_write_dat((pixel >> 8) & 0xFF);
+ lcd_write_dat((pixel >> 0) & 0xFF);
}
}