summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2009-05-19 14:43:26 +0000
committerRafaël Carré <rafael.carre@gmail.com>2009-05-19 14:43:26 +0000
commit1dfeba5702c457afd1af53644baba5000e62e645 (patch)
treeac97d846c50f0e748284b93990abdcc128eff46f /firmware
parent58e332390c32c0439da280d663272b9b990adc2d (diff)
Sansa Clip : ignore previous setting of CGU_DBOP (do not use ORR)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20986 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c b/firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c
index a88e5faa0a..70db6a3f0e 100644
--- a/firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c
+++ b/firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c
@@ -70,7 +70,7 @@
/* DBOP initialisation, do what OF does */
static void ams3525_dbop_init(void)
{
- CGU_DBOP |= (1<<3) | (CLK_DIV(AS3525_PCLK_FREQ, AS3525_DBOP_FREQ) - 1);
+ CGU_DBOP = (1<<3) | (CLK_DIV(AS3525_PCLK_FREQ, AS3525_DBOP_FREQ) - 1);
GPIOB_AFSEL = 0x08; /* DBOP on pin 3 */
GPIOC_AFSEL = 0x0f; /* DBOP on pins 3:0 */