mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
fuze+: pin B1P30 is volume down key and has no relation with SD
Change-Id: Iee93e90d3054442ae873c55c05c030ed690ccbd6
This commit is contained in:
parent
289440605a
commit
b1702a569a
2 changed files with 5 additions and 4 deletions
|
|
@ -324,14 +324,18 @@ void button_init_device(void)
|
|||
create_thread(rmi_thread, rmi_stack, sizeof(rmi_stack), 0,
|
||||
rmi_thread_name IF_PRIO(, PRIORITY_USER_INTERFACE) IF_COP(, CPU));
|
||||
/* enable interrupt */
|
||||
imx233_set_pin_function(0, 27, PINCTRL_FUNCTION_GPIO);
|
||||
imx233_enable_gpio_output(0, 27, false);
|
||||
imx233_setup_pin_irq(0, 27, true, true, false, &rmi_attn_cb);
|
||||
/* Volume down */
|
||||
imx233_set_pin_function(1, 30, PINCTRL_FUNCTION_GPIO);
|
||||
imx233_enable_gpio_output(1, 30, false);
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
void button_init_device(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
int touchpad_read_device(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue