[3.3.2]修复设置自驾最大车速显示Bug

This commit is contained in:
xuxinchao
2023-07-17 14:25:44 +08:00
parent a03494c607
commit 9bd1ea78e0

View File

@@ -81,9 +81,11 @@ internal class AutoPilotAndCheckView @JvmOverloads constructor(
keyBoardUtil?.hideKeyboard()
etInputSpeed.clearFocus()
// 设置自动驾驶速度
val isSuccess = CallerAutoPilotControlManager.setAutoPilotSpeed(speed)
speedLimit = speed
val isSuccess = CallerAutoPilotControlManager.setAutoPilotSpeed(speedLimit)
when {
isSuccess -> {
etInputSpeed.setText(speedLimit.toString())
ToastUtils.showShort("车速设置成功,立即生效")
}
else -> {