Mantis: reduce power button hold time

This is more intuitive and matches the tune.
Hopefully, it's still long enough to prevent any false positives.
This commit is contained in:
Julian Oes 2021-09-28 11:48:29 +02:00 committed by Daniel Agar
parent 6960600c28
commit 7759ffb00e
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@
#define BOARD_HAS_POWER_CONTROL 1
/* power on/off */
#define MS_PWR_BUTTON_DOWN 1500
#define MS_PWR_BUTTON_DOWN 750
#define KEY_AD_GPIO (GPIO_INPUT|GPIO_PULLUP|GPIO_EXTI|GPIO_PORTC|GPIO_PIN4)
#define POWER_ON_GPIO (GPIO_OUTPUT|GPIO_PUSHPULL|GPIO_SPEED_2MHz|GPIO_OUTPUT_SET|GPIO_PORTC|GPIO_PIN5)
#define POWER_OFF_GPIO (GPIO_INPUT|GPIO_PULLDOWN|GPIO_PORTC|GPIO_PIN5)