Fix grey/yellow issue
This commit is contained in:
parent
507d0a3a16
commit
7072c00f5b
1 changed files with 2 additions and 2 deletions
|
@ -137,9 +137,9 @@ public class VoiceRouter {
|
|||
}
|
||||
if (isDistanceLess(speed, dist, TURN_IN_DISTANCE_END)) {
|
||||
return 0;
|
||||
} else if (isDistanceLess(speed, dist, PREPARE_DISTANCE_END)) {
|
||||
} else if ( dist <= PREPARE_DISTANCE) {
|
||||
return 1;
|
||||
} else if (isDistanceLess(speed, dist, PREPARE_LONG_DISTANCE_END)) {
|
||||
} else if (dist <= PREPARE_LONG_DISTANCE) {
|
||||
return 2;
|
||||
} else {
|
||||
return -1;
|
||||
|
|
Loading…
Reference in a new issue