From 7a4ee783bcfea0e6daa81af43cc0668b90cf32a0 Mon Sep 17 00:00:00 2001 From: Simo Kinnunen Date: Thu, 4 Jun 2015 12:17:58 +0900 Subject: [PATCH] Touch service takes a longer time than usual to start on SH-03G, up to a few seconds. --- lib/units/device/plugins/touch.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/units/device/plugins/touch.js b/lib/units/device/plugins/touch.js index cea3db7e..ebbc4717 100644 --- a/lib/units/device/plugins/touch.js +++ b/lib/units/device/plugins/touch.js @@ -83,7 +83,9 @@ module.exports = syrup.serial() }) } log.info('Connecting to touch service') - return tryConnect(5, 100) + // SH-03G can be very slow to start sometimes. Make sure we try long + // enough. + return tryConnect(7, 100) } return startService()