AP_Compass: initialize CompassCalibrator _sample_buffer to NULL

This commit is contained in:
Jonathan Challinger 2015-07-22 10:58:30 -07:00 committed by Andrew Tridgell
parent 358736a592
commit f108383c11

View File

@ -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();
}