Fix VoiceRouter

This commit is contained in:
Alexey Kulish 2016-07-03 20:03:00 +03:00
parent bc5444a7c3
commit 9f1aebfb74

View file

@ -186,7 +186,7 @@ public class VoiceRouter {
btScoDelayDistance = currentSpeed * (double) AbstractPrologCommandPlayer.BT_SCO_DELAY / 1000;
}
if((dist < etalon + btScoDelayDistance) || ((dist - btScoDelayDistance) / currentSpeed) < (etalon / defSpeed))){
if((dist < etalon + btScoDelayDistance) || ((dist - btScoDelayDistance) / currentSpeed) < (etalon / defSpeed)){
return true;
}
return false;