Skip to content
Snippets Groups Projects
Commit 91cda080 authored by Daniel Agar's avatar Daniel Agar Committed by Nuno Marques
Browse files

temperature calibration coverity fix 141891

parent 5331768c
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,7 @@ public:
/**
* Destructor
*/
~TemperatureCalibration();
~TemperatureCalibration() = default;
/**
* Start task.
......@@ -107,14 +107,10 @@ TemperatureCalibration::TemperatureCalibration(bool accel, bool baro, bool gyro)
{
}
TemperatureCalibration::~TemperatureCalibration()
{
}
void TemperatureCalibration::task_main()
{
// subscribe to all gyro instances
int gyro_sub[SENSOR_COUNT_MAX];
int gyro_sub[SENSOR_COUNT_MAX] = {};
px4_pollfd_struct_t fds[SENSOR_COUNT_MAX] = {};
unsigned num_gyro = orb_group_count(ORB_ID(sensor_gyro));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment