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