Fix Onda VX767
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23761 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
eed49f09ce
commit
5afb4a97c2
1 changed files with 2 additions and 1 deletions
|
@ -33,8 +33,9 @@ int _sd_init(void);
|
|||
#define MMC_CD_PIN (29 + 1 * 32) /* Pin to check card insertion */
|
||||
//#define MMC_POWER_PIN (30 + 1 * 32) /* Pin to enable/disable card power */
|
||||
//#define MMC_PW_PIN (14 + 3 * 32) /* Pin to check protect card */
|
||||
#define MMC_CD_IRQ GPIO61
|
||||
|
||||
static inline void mmc_init_gpio(void)
|
||||
static inline void sd_init_gpio(void)
|
||||
{
|
||||
__gpio_as_msc();
|
||||
__gpio_as_input(MMC_CD_PIN);
|
||||
|
|
Loading…
Reference in a new issue