Fix format and remove ets driver from fmu-v2 build

This commit is contained in:
acfloria
2018-04-11 15:15:28 +02:00
committed by Beat Küng
parent cbe75188e9
commit 78950f2b39
6 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -485,7 +485,7 @@ protected:
private:
int _instance_id;
bool _transmitting_enabled;
bool _transmitting_enabled;
orb_advert_t _mavlink_log_pub;
bool _task_running;
+1 -1
View File
@@ -4404,7 +4404,7 @@ protected:
struct vehicle_global_position_s global_pos = {};
if (_global_pos_sub->update(&global_pos)) {
_climb_rate.add_value(fabs(global_pos.vel_d), update_rate);
_climb_rate.add_value(fabsf(global_pos.vel_d), update_rate);
_groundspeed.add_value(sqrtf(global_pos.vel_n * global_pos.vel_n + global_pos.vel_e * global_pos.vel_e), update_rate);
}