esp32 boards: BUTTON_BOOT should use PULLUP instead PULLDOWN
This commit is contained in:
parent
83513e26cf
commit
cd08694698
@ -56,7 +56,7 @@
|
||||
|
||||
uint32_t board_button_initialize(void)
|
||||
{
|
||||
esp32_configgpio(BUTTON_BOOT, INPUT_FUNCTION_3 | PULLDOWN);
|
||||
esp32_configgpio(BUTTON_BOOT, INPUT_FUNCTION_3 | PULLUP);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -56,7 +56,7 @@
|
||||
|
||||
uint32_t board_button_initialize(void)
|
||||
{
|
||||
esp32_configgpio(BUTTON_BOOT, INPUT_FUNCTION_3 | PULLDOWN);
|
||||
esp32_configgpio(BUTTON_BOOT, INPUT_FUNCTION_3 | PULLUP);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -56,7 +56,7 @@
|
||||
|
||||
uint32_t board_button_initialize(void)
|
||||
{
|
||||
esp32_configgpio(BUTTON_BOOT, INPUT_FUNCTION_3 | PULLDOWN);
|
||||
esp32_configgpio(BUTTON_BOOT, INPUT_FUNCTION_3 | PULLUP);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user