[engine] Fix updates when node is not detected,
@@ -505,10 +505,13 @@ static void Luos_AutoUpdateManager(void)
service_table[i].service_cb(&service_table[i], &updt_msg);
}
else
+ {
+ if (Robus_IsNodeDetected() == DETECTION_OK)
{
// directly transmit the message in Localhost
Robus_SetTxTask(service_table[i].ll_service, &updt_msg);
}
+ }
service_table[i].auto_refresh.last_update = LuosHAL_GetSystick();
}
}
