mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 15:38:52 +08:00
Fix duplicate newlines at the end of files
This commit is contained in:
@@ -262,4 +262,3 @@ PARAM_DEFINE_INT32(VOXL_ESC_T_WARN, 0);
|
||||
* @max 200
|
||||
*/
|
||||
PARAM_DEFINE_INT32(VOXL_ESC_T_OVER, 0);
|
||||
|
||||
|
||||
@@ -41,4 +41,3 @@
|
||||
* @group Sensors
|
||||
*/
|
||||
PARAM_DEFINE_INT32(ADC_ADS1115_EN, 0);
|
||||
|
||||
|
||||
@@ -92,4 +92,3 @@ int BMP581_I2C::set_reg(uint8_t value, uint8_t addr)
|
||||
uint8_t cmd[2] = { (uint8_t)(addr), value};
|
||||
return transfer(cmd, sizeof(cmd), nullptr, 0);
|
||||
}
|
||||
|
||||
|
||||
@@ -163,4 +163,3 @@ PARAM_DEFINE_INT32(TRIG_PWM_SHOOT, 1900);
|
||||
* @reboot_required true
|
||||
*/
|
||||
PARAM_DEFINE_INT32(TRIG_PWM_NEUTRAL, 1500);
|
||||
|
||||
|
||||
@@ -134,4 +134,3 @@ private:
|
||||
perf_counter_t _comms_errors{perf_alloc(PC_COUNT, MODULE_NAME": communication errors")};
|
||||
perf_counter_t _fault_perf{perf_alloc(PC_ELAPSED, MODULE_NAME": fault detected")};
|
||||
};
|
||||
|
||||
|
||||
@@ -38,4 +38,3 @@ px4_add_module(
|
||||
DEPENDS
|
||||
drivers_rangefinder
|
||||
)
|
||||
|
||||
|
||||
@@ -4,4 +4,3 @@ serial_config:
|
||||
port_config_param:
|
||||
name: SENS_SF0X_CFG
|
||||
group: Sensors
|
||||
|
||||
|
||||
@@ -4,4 +4,3 @@ serial_config:
|
||||
port_config_param:
|
||||
name: SENS_TFMINI_CFG
|
||||
group: Sensors
|
||||
|
||||
|
||||
@@ -476,4 +476,3 @@ int DShotTelemetry::setBaudrate(unsigned baud)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
## SBF Library
|
||||
|
||||
The `sbf/` directory contains all the logic required to work with SBF, including message
|
||||
definitions, block IDs and a simple parser for the messages used by PX4.
|
||||
definitions, block IDs and a simple parser for the messages used by PX4.
|
||||
|
||||
@@ -55,4 +55,4 @@ px4_add_module(
|
||||
module.yaml
|
||||
DEPENDS
|
||||
git_gps_devices
|
||||
)
|
||||
)
|
||||
|
||||
@@ -13,4 +13,3 @@ serial_config:
|
||||
group: GPS
|
||||
default: GPS1
|
||||
label: Main GPS
|
||||
|
||||
|
||||
@@ -275,4 +275,4 @@ PARAM_DEFINE_INT32(GPS_1_GNSS, 0);
|
||||
* @reboot_required true
|
||||
* @group GPS
|
||||
*/
|
||||
PARAM_DEFINE_INT32(GPS_2_GNSS, 0);
|
||||
PARAM_DEFINE_INT32(GPS_2_GNSS, 0);
|
||||
|
||||
@@ -213,4 +213,3 @@ int FXOS8701CQ_SPI::write(unsigned reg, void *data, unsigned count)
|
||||
|
||||
return transfer(cmd, nullptr, sizeof(cmd));
|
||||
}
|
||||
|
||||
|
||||
@@ -84,4 +84,3 @@ mat3f vnm_negative_mat3f(mat3f m);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -44,4 +44,3 @@ px4_add_module(
|
||||
drivers_magnetometer
|
||||
px4_work_queue
|
||||
)
|
||||
|
||||
|
||||
@@ -116,4 +116,3 @@
|
||||
#define OSD_SYMBOL_ON_M 0x9B
|
||||
#define OSD_SYMBOL_FLY_M 0x9C
|
||||
#define OSD_SYMBOL_FLIGHT_TIME 0x70
|
||||
|
||||
|
||||
@@ -161,4 +161,3 @@ TEST_F(MessageDisplayTest, testMessageDisplayWarning)
|
||||
strncpy(correct, ground_truth, FULL_MSG_LENGTH);
|
||||
EXPECT_STREQ(message, correct);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,4 +43,3 @@ public:
|
||||
private:
|
||||
int _fd{-1};
|
||||
};
|
||||
|
||||
|
||||
@@ -848,4 +848,3 @@ enum betaflightDJIModesMask_e {
|
||||
// 0b00100000 resc
|
||||
// 0b01000000 acro
|
||||
// 0b10000000 acro
|
||||
|
||||
|
||||
@@ -172,4 +172,3 @@ private:
|
||||
char _device[64] {};
|
||||
PerformanceData _performance_data{};
|
||||
};
|
||||
|
||||
|
||||
@@ -30,4 +30,3 @@ actuator_output:
|
||||
200: PWM 200 Hz
|
||||
400: PWM 400 Hz
|
||||
reboot_required: true
|
||||
|
||||
|
||||
@@ -136,4 +136,3 @@ bool GHSTTelemetry::send_gps2_status()
|
||||
|
||||
return ghst_send_telemetry_gps2_status(_uart_fd, ground_speed, ground_course, num_sats, home_dist, home_dir, flags);
|
||||
}
|
||||
|
||||
|
||||
@@ -32,4 +32,3 @@ serial_config:
|
||||
description_extended: |
|
||||
Setting this to 'Disabled' will use a board-specific default port
|
||||
for RC input.
|
||||
|
||||
|
||||
@@ -38,4 +38,3 @@ px4_add_module(
|
||||
rpi_rc_in.cpp
|
||||
DEPENDS
|
||||
)
|
||||
|
||||
|
||||
@@ -211,4 +211,3 @@ int rpi_rc_in_main(int argc, char **argv)
|
||||
return 1;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -38,4 +38,3 @@ px4_add_module(
|
||||
bst.cpp
|
||||
DEPENDS
|
||||
)
|
||||
|
||||
|
||||
@@ -41,4 +41,3 @@ px4_add_module(
|
||||
MODULE_CONFIG
|
||||
module.yaml
|
||||
)
|
||||
|
||||
|
||||
@@ -4,4 +4,3 @@ serial_config:
|
||||
port_config_param:
|
||||
name: TEL_FRSKY_CONFIG
|
||||
group: Telemetry
|
||||
|
||||
|
||||
@@ -38,4 +38,3 @@ px4_add_module(
|
||||
hott_sensors.cpp
|
||||
DEPENDS
|
||||
)
|
||||
|
||||
|
||||
@@ -4,4 +4,3 @@ serial_config:
|
||||
port_config_param:
|
||||
name: TEL_HOTT_CONFIG
|
||||
group: Telemetry
|
||||
|
||||
|
||||
@@ -12,4 +12,3 @@ serial_config:
|
||||
port_config_param:
|
||||
name: ISBD_CONFIG
|
||||
group: Iridium SBD
|
||||
|
||||
|
||||
@@ -38,4 +38,3 @@ px4_add_module(
|
||||
test_ppm.cpp
|
||||
DEPENDS
|
||||
)
|
||||
|
||||
|
||||
@@ -10,4 +10,3 @@ actuator_output:
|
||||
group_label: 'PWMs'
|
||||
channel_label: 'PWM Channel'
|
||||
num_channels: 4
|
||||
|
||||
|
||||
@@ -63,4 +63,3 @@ PARAM_DEFINE_INT32(VOXL2_IO_MIN, 1000);
|
||||
* @unit us
|
||||
*/
|
||||
PARAM_DEFINE_INT32(VOXL2_IO_MAX, 2000);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user