mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-22 06:14:14 +08:00
rm3100: cleanup device interface on destruction
This commit is contained in:
@@ -66,6 +66,8 @@ RM3100::~RM3100()
|
||||
perf_free(_comms_errors);
|
||||
perf_free(_range_errors);
|
||||
perf_free(_conf_errors);
|
||||
|
||||
delete _interface;
|
||||
}
|
||||
|
||||
int RM3100::self_test()
|
||||
|
||||
Reference in New Issue
Block a user