[3.3.0] change the logic of autopilot

This commit is contained in:
zhongchao
2023-07-06 18:24:58 +08:00
parent c391171ac4
commit 47275eab1e

View File

@@ -116,8 +116,8 @@ object CallerAutoPilotStatusListenerManager : CallerBase<IMoGoAutopilotStatusLis
}
fun updateAutoPilotStatus(autopilotState: Int, autopilotMode: Int) {
this.autopilotState = autopilotState
mAutopilotStatusInfo.state = autopilotState
this.autopilotState = autopilotState
mAutopilotStatusInfo.pilotmode = autopilotMode
invokeAutoPilotStatus()
}