mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-29 12:30:34 +08:00
EKF drop unused timestamp from collect_gps() and pass data by const reference
This commit is contained in:
@@ -50,6 +50,9 @@ struct sample {
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
(void)argc; // unused
|
||||
(void)argv; // unused
|
||||
|
||||
sample x;
|
||||
x.time_us = 1000000;
|
||||
x.data[0] = x.data[1] = x.data[2] = 1.5f;
|
||||
|
||||
Reference in New Issue
Block a user