Sitl: fix build

This commit is contained in:
Willian Galvani 2022-09-27 23:53:38 -03:00
parent 1f19bf6c68
commit a1b471374f

View File

@ -986,10 +986,10 @@ float Aircraft::get_local_updraft(const Vector3d &currentPos)
#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;