forked from len0rd/rockbox
zenxfi3: fix vol+/vol- button pin assignment
Change-Id: Ibc8e19b03e786ac8c668c73c85c5e66df16cc632
This commit is contained in:
parent
1354f209f5
commit
779ec8cc6d
1 changed files with 6 additions and 6 deletions
|
@ -131,13 +131,13 @@ void button_init_device(void)
|
|||
imx233_set_pin_function(0, 4, PINCTRL_FUNCTION_GPIO);
|
||||
imx233_enable_gpio_output(0, 4, false);
|
||||
/* volume down button */
|
||||
imx233_pinctrl_acquire_pin(0, 7, "volume down");
|
||||
imx233_set_pin_function(0, 7, PINCTRL_FUNCTION_GPIO);
|
||||
imx233_enable_gpio_output(0, 7, false);
|
||||
imx233_pinctrl_acquire_pin(2, 7, "volume down");
|
||||
imx233_set_pin_function(2, 7, PINCTRL_FUNCTION_GPIO);
|
||||
imx233_enable_gpio_output(2, 7, false);
|
||||
/* volume up button */
|
||||
imx233_pinctrl_acquire_pin(0, 8, "volume up");
|
||||
imx233_set_pin_function(0, 8, PINCTRL_FUNCTION_GPIO);
|
||||
imx233_enable_gpio_output(0, 8, false);
|
||||
imx233_pinctrl_acquire_pin(2, 8, "volume up");
|
||||
imx233_set_pin_function(2, 8, PINCTRL_FUNCTION_GPIO);
|
||||
imx233_enable_gpio_output(2, 8, false);
|
||||
}
|
||||
|
||||
bool button_hold(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue