Touch service takes a longer time than usual to start on SH-03G, up to a few seconds.

This commit is contained in:
Simo Kinnunen
2015-06-04 12:17:58 +09:00
parent a2f55dc8e0
commit 7a4ee783bc

View File

@@ -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()