mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
SITL: initialise a couple of variables to prevent a valgrind error
This commit is contained in:
parent
2a22ae5404
commit
d8df31c023
@ -75,6 +75,9 @@ Aircraft::Aircraft(const char *home_str, const char *frame_str) :
|
||||
free(s);
|
||||
|
||||
set_speedup(1);
|
||||
|
||||
last_wall_time_us = get_wall_time_us();
|
||||
frame_counter = 0;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user