mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
AP_Compass: initialize CompassCalibrator _sample_buffer to NULL
This commit is contained in:
parent
358736a592
commit
f108383c11
@ -72,7 +72,8 @@ extern const AP_HAL::HAL& hal;
|
||||
////////////////////////////////////////////////////////////
|
||||
|
||||
CompassCalibrator::CompassCalibrator():
|
||||
_tolerance(COMPASS_CAL_DEFAULT_TOLERANCE)
|
||||
_tolerance(COMPASS_CAL_DEFAULT_TOLERANCE),
|
||||
_sample_buffer(NULL)
|
||||
{
|
||||
clear();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user