Browse Source

ar71xx: reduce button threshold value on the NBG460 board

SVN-Revision: 21076
Gabor Juhos 15 years ago
parent
commit
10ed3b23a6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c

+ 2 - 2
target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c

@@ -112,14 +112,14 @@ static struct gpio_button nbg460n_gpio_buttons[] __initdata = {
 		.desc		= "reset",
 		.type		= EV_KEY,
 		.code		= KEY_RESTART,
-		.threshold	= 5,
+		.threshold	= 3,
 		.gpio		= NBG460N_GPIO_BTN_RESET,
 		.active_low	= 1,
 	}, {
 		.desc		= "wps",
 		.type		= EV_KEY,
 		.code		= KEY_WPS_BUTTON,
-		.threshold	= 5,
+		.threshold	= 3,
 		.gpio		= NBG460N_GPIO_BTN_WPS,
 		.active_low	= 1,
 	}