diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-10-04 16:22:00 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-10-04 16:22:00 +0000 |
commit | cc5b50b231f53b04d54567489970cdfa0a09e402 (patch) | |
tree | adc2cf4b07af3d0fdecceea4517fa1ee2a8d010b | |
parent | 17b19939e6406dd5713d69da2b12634791174cdc (diff) |
Change a couple udelay() in e200 lcd driver to sleep() since sleep() was the intent.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14982 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/target/arm/sandisk/sansa-e200/lcd-e200.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/sandisk/sansa-e200/lcd-e200.c b/firmware/target/arm/sandisk/sansa-e200/lcd-e200.c index 58287fc6e0..41926bb885 100644 --- a/firmware/target/arm/sandisk/sansa-e200/lcd-e200.c +++ b/firmware/target/arm/sandisk/sansa-e200/lcd-e200.c @@ -304,7 +304,7 @@ static void lcd_display_on(void) REV=x, D1-0=01 */ lcd_write_reg(R_DISP_CONTROL1, 0x0041 | r_disp_control_rev); - udelay(HZ/20); + sleep(HZ/20); /* PT1-0=00, VLE2-1=00, SPT=0, IB6(??)=1, GON=1, DTE=0, CL=0, REV=x, D1-0=01 */ @@ -313,7 +313,7 @@ static void lcd_display_on(void) REV=x, D1-0=11 */ lcd_write_reg(R_DISP_CONTROL1, 0x0063 | r_disp_control_rev); - udelay(HZ/20); + sleep(HZ/20); /* PT1-0=00, VLE2-1=00, SPT=0, IB6(??)=1, GON=1, DTE=1, CL=0, REV=x, D1-0=11 */ |