[状态栏][RTK]优化RTK状态获取逻辑

This commit is contained in:
renwj
2022-06-20 17:35:18 +08:00
parent a831464cfb
commit 21d809df8d
3 changed files with 20 additions and 11 deletions

View File

@@ -167,11 +167,11 @@ object CallerAutoPilotStatusListenerManager : CallerBase() {
*/
@Synchronized
fun invokeAutopilotGuardian(guardianInfo: MogoReportMsg.MogoReportMessage?) {
// M_AUTOPILOT_STATUS_LISTENERS.forEach {
// val listener = it.value
// autoPilotMessageCode = guardianInfo?.code ?: ""
// listener.onAutopilotGuardian(guardianInfo)
// }
M_AUTOPILOT_STATUS_LISTENERS.forEach {
val listener = it.value
autoPilotMessageCode = guardianInfo?.code ?: ""
listener.onAutopilotGuardian(guardianInfo)
}
}
/**