mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Sitl: fix build
This commit is contained in:
parent
1f19bf6c68
commit
a1b471374f
@ -986,10 +986,10 @@ float Aircraft::get_local_updraft(const Vector3d ¤tPos)
|
||||
|
||||
#define MAX_THERMALS 10
|
||||
|
||||
float thermals_w[MAX_THERMALS];
|
||||
float thermals_r[MAX_THERMALS];
|
||||
float thermals_x[MAX_THERMALS];
|
||||
float thermals_y[MAX_THERMALS];
|
||||
float thermals_w[MAX_THERMALS] = {0};
|
||||
float thermals_r[MAX_THERMALS] = {0};
|
||||
float thermals_x[MAX_THERMALS] = {0};
|
||||
float thermals_y[MAX_THERMALS] = {0};
|
||||
|
||||
int n_thermals = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user