mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-27 11:20:35 +08:00
Move time update to sensor base class
This commit is contained in:
committed by
Mathieu Bresciani
parent
1832bedd13
commit
0831c158f2
@@ -16,6 +16,7 @@ void Sensor::update(uint32_t time)
|
||||
if(should_send(time))
|
||||
{
|
||||
send(time);
|
||||
_time_last_data_sent = time;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user