mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 11:43:34 +08:00
Fix duplicate newlines at the end of files
This commit is contained in:
@@ -40,4 +40,3 @@ px4_add_library(heatshrink
|
||||
target_compile_options(heatshrink PRIVATE
|
||||
${MAX_CUSTOM_OPT_LEVEL}
|
||||
-DHEATSHRINK_DYNAMIC_ALLOC=0)
|
||||
|
||||
|
||||
@@ -419,4 +419,3 @@ def encode(data, window_size, lookahead_size):
|
||||
if sunk == in_size:
|
||||
heatshrink_encoder_finish(hse)
|
||||
return ret
|
||||
|
||||
|
||||
@@ -375,4 +375,3 @@ OStream &operator<<(OStream &os, const matrix::Dual<Type, N> &dual)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -58,4 +58,3 @@ add_custom_command(OUTPUT ${generated_actuators_metadata_file}
|
||||
COMMENT "Generating actuators.json"
|
||||
)
|
||||
add_custom_target(actuators_json DEPENDS ${generated_actuators_metadata_file})
|
||||
|
||||
|
||||
@@ -128,4 +128,3 @@ void ParamAutosave::Run()
|
||||
_retry_count = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -49,4 +49,3 @@ void param_primary_set_value(param_t param, const void *val);
|
||||
void param_primary_reset(param_t param);
|
||||
void param_primary_reset_all();
|
||||
void param_primary_get_counters(struct param_primary_counters *cnt);
|
||||
|
||||
|
||||
@@ -146,4 +146,3 @@ class JsonOutput():
|
||||
def Save(self, filename):
|
||||
with codecs.open(filename, 'w', 'utf-8') as f:
|
||||
f.write(self.output)
|
||||
|
||||
|
||||
@@ -428,4 +428,3 @@ bool ghst_send_telemetry_gps2_status(int uart_fd, uint16_t ground_speed, uint16_
|
||||
|
||||
return write(uart_fd, buf, offset) == offset;
|
||||
}
|
||||
|
||||
|
||||
@@ -520,7 +520,4 @@ bool RCTest::sumdTest()
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
ut_declare_test_c(rc_tests_main, RCTest)
|
||||
|
||||
|
||||
@@ -742,4 +742,3 @@ private:
|
||||
*/
|
||||
void _setFastDescend(float alt_setpoint, float alt);
|
||||
};
|
||||
|
||||
|
||||
@@ -18,4 +18,3 @@ if [ ! -f "$version_file" ]; then
|
||||
fi
|
||||
|
||||
sed -n 's/.*PX4_GIT_TAG_OR_BRANCH_NAME\s*"\(.*\)".*/version=\1/p' "$version_file"
|
||||
|
||||
|
||||
@@ -366,4 +366,3 @@ const char *px4_firmware_oem_version_string(void)
|
||||
{
|
||||
return PX4_GIT_OEM_VERSION_STR;
|
||||
}
|
||||
|
||||
|
||||
@@ -206,4 +206,3 @@ __EXPORT uint64_t px4_os_version_binary(void);
|
||||
__EXPORT const char *px4_firmware_oem_version_string(void);
|
||||
|
||||
__END_DECLS
|
||||
|
||||
|
||||
@@ -138,5 +138,3 @@ static constexpr const int16_t totalintensity_table[19][37] {
|
||||
static constexpr float WMM_TOTALINTENSITY_SCALE_TO_NANOTESLA = 2.04183477f;
|
||||
static constexpr float WMM_TOTALINTENSITY_MIN_NANOTESLA = 22226.9f; // latitude: -30, longitude: -60
|
||||
static constexpr float WMM_TOTALINTENSITY_MAX_NANOTESLA = 66904.8f; // latitude: -60, longitude: 130
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user