Remove legacy imu interface

This commit is contained in:
kamilritz
2020-01-23 09:34:07 +11:00
committed by Paul Riseborough
parent 7c3a2f839b
commit 37201fb071
4 changed files with 2 additions and 19 deletions
+1 -3
View File
@@ -15,9 +15,7 @@ Mag::~Mag()
void Mag::send(uint64_t time)
{
magSample mag_sample;
mag_sample.mag = _mag_data;
mag_sample.time_us = time;
const magSample mag_sample {_mag_data, time};
_ekf->setMagData(mag_sample);
}