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);
|
free(s);
|
||||||
|
|
||||||
set_speedup(1);
|
set_speedup(1);
|
||||||
|
|
||||||
|
last_wall_time_us = get_wall_time_us();
|
||||||
|
frame_counter = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user