forked from len0rd/rockbox
xduoo_x3: Disable keypress IRQ since we poll for keypresses.
Change-Id: Ieab5f864751cf798b62c4e89e670acf7ade756ab
This commit is contained in:
parent
640ada0389
commit
a26c1c1459
1 changed files with 7 additions and 4 deletions
|
@ -63,8 +63,11 @@ void button_init_device(void)
|
||||||
__gpio_disable_pull(PIN_BTN_POWER);
|
__gpio_disable_pull(PIN_BTN_POWER);
|
||||||
__gpio_disable_pull(PIN_BTN_HOLD);
|
__gpio_disable_pull(PIN_BTN_HOLD);
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
/* We poll this, no need to set it up for an interrupt */
|
||||||
__gpio_as_irq_fall_edge(PIN_KEY_INT);
|
__gpio_as_irq_fall_edge(PIN_KEY_INT);
|
||||||
system_enable_irq(GPIO_IRQ(PIN_KEY_INT));
|
system_enable_irq(GPIO_IRQ(PIN_KEY_INT));
|
||||||
|
#endif
|
||||||
|
|
||||||
__gpio_set_pin(PIN_CHARGE_CON); /* 0.7 A */
|
__gpio_set_pin(PIN_CHARGE_CON); /* 0.7 A */
|
||||||
__gpio_as_output(PIN_CHARGE_CON);
|
__gpio_as_output(PIN_CHARGE_CON);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue