mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 15:27:35 +08:00
gpssim: unadvertise gps topics
This commit is contained in:
@@ -355,6 +355,14 @@ GPSSIM::task_main()
|
||||
}
|
||||
}
|
||||
|
||||
if (_report_gps_pos_pub) {
|
||||
orb_unadvertise(_report_gps_pos_pub);
|
||||
}
|
||||
|
||||
if (_report_sat_info_pub) {
|
||||
orb_unadvertise(_report_sat_info_pub);
|
||||
}
|
||||
|
||||
PX4_INFO("exiting");
|
||||
|
||||
/* tell the dtor that we are exiting */
|
||||
|
||||
Reference in New Issue
Block a user