Skip to content

Commit

Permalink
airspeed driver: un-advertise differential pressure topic
Browse files Browse the repository at this point in the history
Signed-off-by: Roman <[email protected]>
  • Loading branch information
RomanBapst committed Mar 23, 2018
1 parent 81a80e0 commit 8b553de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/drivers/airspeed/airspeed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ Airspeed::~Airspeed()
unregister_class_devname(AIRSPEED_BASE_DEVICE_PATH, _class_instance);
}

orb_unadvertise(_airspeed_pub);

// free perf counters
perf_free(_sample_perf);
perf_free(_comms_errors);
Expand Down

0 comments on commit 8b553de

Please sign in to comment.