Browse Source

gpssim: unadvertise gps topics

sbg
Beat Küng 7 years ago
parent
commit
0ac1ef12c7
No known key found for this signature in database
GPG Key ID: 866DB5F0E24821BB
  1. 8
      src/modules/simulator/gpssim/gpssim.cpp

8
src/modules/simulator/gpssim/gpssim.cpp

@ -355,6 +355,14 @@ GPSSIM::task_main() @@ -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 */

Loading…
Cancel
Save