From 7a262a4e6810c2412847624d07670bad74a125f0 Mon Sep 17 00:00:00 2001 From: Simo Kinnunen Date: Wed, 22 Jul 2015 17:55:52 +0900 Subject: [PATCH] Allow minitouch more time to start. The number of retries had already been set to 7 earlier, but got mistakenly changed to 5 during refactoring. --- lib/units/device/plugins/touch/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/units/device/plugins/touch/index.js b/lib/units/device/plugins/touch/index.js index 522bc346..14d550ad 100644 --- a/lib/units/device/plugins/touch/index.js +++ b/lib/units/device/plugins/touch/index.js @@ -277,7 +277,7 @@ module.exports = syrup.serial() log.info('Connecting to minitouch service') // SH-03G can be very slow to start sometimes. Make sure we try long // enough. - return tryConnect(5, 100) + return tryConnect(7, 100) } TouchConsumer.prototype._stop = function() {