fix typo
This commit is contained in:
parent
36181f151a
commit
b69e1a37c9
1 changed files with 1 additions and 1 deletions
|
@ -436,7 +436,7 @@ public class VoiceRouter {
|
|||
if (currentStatus == STATUS_UNKNOWN) {
|
||||
// Tell goAhead distance after (1) route calculation if no other prompt is due, or (2) after a turn if next turn is more than PREPARE_LONG_DISTANCE away
|
||||
//if (!isDistanceLess(speed, dist, TURN_IN_DISTANCE * 1.3, 0f)) {
|
||||
if (((playGoAheadDist = -1) && (!isDistanceLess(speed, dist, TURN_IN_DISTANCE * 1.3, 0f))) || !isDistanceLess(speed, dist, PREPARE_LONG_DISTANCE + 300, 0f)) {
|
||||
if (((playGoAheadDist == -1) && (!isDistanceLess(speed, dist, TURN_IN_DISTANCE * 1.3, 0f))) || !isDistanceLess(speed, dist, PREPARE_LONG_DISTANCE + 300, 0f)) {
|
||||
playGoAheadDist = dist - 80;
|
||||
}
|
||||
// Put voice router in appropriate status
|
||||
|
|
Loading…
Reference in a new issue