mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Sansa Clip: No need to use GPIO pin B5 in LCD - it's likely used in FM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19352 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ab64424598
commit
68be3b15a5
1 changed files with 1 additions and 2 deletions
|
|
@ -182,12 +182,11 @@ void lcd_init_device(void)
|
|||
ams3525_dbop_init();
|
||||
|
||||
GPIOA_DIR |= 0x33; /* pins 5:4 and 1:0 out */
|
||||
GPIOB_DIR |= 0x60; /* pin 6:5 out */
|
||||
GPIOB_DIR |= 0x40; /* pin 6 out */
|
||||
|
||||
GPIOA_PIN(1) = (1<<1);
|
||||
GPIOA_PIN(0) = (1<<0);
|
||||
GPIOA_PIN(4) = 0;
|
||||
GPIOB_PIN(5) = 0;
|
||||
GPIOB_PIN(6) = (1<<6);
|
||||
|
||||
/* Set display clock (divide ratio = 1) and oscillator frequency (1) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue