mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-21 08:47:35 +08:00
Move time update to sensor base class
This commit is contained in:
committed by
Mathieu Bresciani
parent
1832bedd13
commit
0831c158f2
@@ -18,7 +18,6 @@ void Mag::send(uint32_t time)
|
||||
float mag[3];
|
||||
_mag_data.copyTo(mag);
|
||||
_ekf->setMagData(time,mag);
|
||||
_time_last_data_sent = time;
|
||||
}
|
||||
|
||||
void Mag::setData(const Vector3f& mag)
|
||||
|
||||
Reference in New Issue
Block a user