mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-10 09:08:52 +08:00
lis3mdl: cleanup device interface on destruction
This commit is contained in:
@@ -75,6 +75,8 @@ LIS3MDL::~LIS3MDL()
|
||||
perf_free(_comms_errors);
|
||||
perf_free(_range_errors);
|
||||
perf_free(_conf_errors);
|
||||
|
||||
delete _interface;
|
||||
}
|
||||
|
||||
int LIS3MDL::collect()
|
||||
|
||||
Reference in New Issue
Block a user