Revert "servo: increase key press duration to 0.3 seconds"
This reverts commit e6bdfebd47bcd83677f531cf5d2ce4c2d35bc74b
This is causing a problem when Enter key is pressed for too long and firmware takes it as two key presses.
Change-Id: Ieee6b87116abe30ad3b4187317ff347defd64e3b
Reviewed-on: https://gerrit.chromium.org/gerrit/38355
Reviewed-by: Yusuf Mohsinally <mohsinally@google.com>
Reviewed-by: Tom Wai-Hong Tam <waihong@chromium.org>
Commit-Ready: Vic Yang <victoryang@chromium.org>
Tested-by: Vic Yang <victoryang@chromium.org>
diff --git a/server/cros/servo.py b/server/cros/servo.py
index 1ba4c5e..b4c15d7 100644
--- a/server/cros/servo.py
+++ b/server/cros/servo.py
@@ -54,7 +54,7 @@
# Servo-specific delays.
MAX_SERVO_STARTUP_DELAY = 10
SERVO_SEND_SIGNAL_DELAY = 0.5
- SERVO_KEY_PRESS_DELAY = 0.3
+ SERVO_KEY_PRESS_DELAY = 0.1
# Time between an usb disk plugged-in and detected in the system.
USB_DETECTION_DELAY = 10