mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 06:53:34 +08:00
Fix format and remove ets driver from fmu-v2 build
This commit is contained in:
@@ -83,7 +83,7 @@ typedef enum {
|
||||
|
||||
extern "C" __EXPORT int iridiumsbd_main(int argc, char *argv[]);
|
||||
|
||||
#define SATCOM_TX_BUF_LEN 340 // TX buffer size - maximum for a SBD MO message is 340, but billed per 50
|
||||
#define SATCOM_TX_BUF_LEN 340 // TX buffer size - maximum for a SBD MO message is 340, but billed per 50
|
||||
#define SATCOM_RX_MSG_BUF_LEN 270 // RX buffer size for MT messages
|
||||
#define SATCOM_RX_COMMAND_BUF_LEN 50 // RX buffer size for other commands
|
||||
#define SATCOM_SIGNAL_REFRESH_DELAY 20000000 // update signal quality every 20s
|
||||
|
||||
@@ -21,7 +21,7 @@ PARAM_DEFINE_INT32(ISBD_READ_INT, 60);
|
||||
PARAM_DEFINE_INT32(ISBD_SBD_TIMEOUT, 60);
|
||||
|
||||
/**
|
||||
* Time [ms] the Iridum driver will wait for additional mavlink messages to combine them into one SBD message
|
||||
* Time [ms] the Iridium driver will wait for additional mavlink messages to combine them into one SBD message
|
||||
* Value 0 turns the functionality off
|
||||
*
|
||||
* @unit ms
|
||||
|
||||
@@ -485,7 +485,7 @@ protected:
|
||||
|
||||
private:
|
||||
int _instance_id;
|
||||
bool _transmitting_enabled;
|
||||
bool _transmitting_enabled;
|
||||
|
||||
orb_advert_t _mavlink_log_pub;
|
||||
bool _task_running;
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user