summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2009-06-04 19:53:39 +0000
committerBertrik Sikken <bertrik@sikken.nl>2009-06-04 19:53:39 +0000
commit82902a8adef973177d3e5d63c42e1b5ca2d2fecd (patch)
tree95616cd2ba49c67bd37832043012e661d9a31fd1 /firmware
parent8bb5e430e507cdf53e0909d8cf02b249153ccb87 (diff)
downloadrockbox-82902a8adef973177d3e5d63c42e1b5ca2d2fecd.tar.gz
rockbox-82902a8adef973177d3e5d63c42e1b5ca2d2fecd.zip
Make more effective use of the DBOP FIFO for the sansa clip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21190 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c b/firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c
index c0df1f766e..5ad6c887bd 100644
--- a/firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c
+++ b/firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c
@@ -111,10 +111,11 @@ void lcd_write_data(const fb_data* p_bytes, int count)
111 111
112 p_bytes++; /* next packed pixels */ 112 p_bytes++; /* next packed pixels */
113 113
114 /* While push fifo is not empty */ 114 /* Wait if push fifo is full */
115 while ((DBOP_STAT & (1<<10)) == 0) 115 while ((DBOP_STAT & (1<<6)) != 0);
116 ;
117 } 116 }
117 /* While push fifo is not empty */
118 while ((DBOP_STAT & (1<<10)) == 0);
118} 119}
119 120
120 121