mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-14 22:23:33 +08:00
Remove legacy imu interface
This commit is contained in:
committed by
Paul Riseborough
parent
7c3a2f839b
commit
37201fb071
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user