mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 08:13:35 +08:00
Fix duplicate newlines at the end of files
This commit is contained in:
@@ -41,4 +41,3 @@ px4_add_module(
|
||||
DEPENDS
|
||||
world_magnetic_model
|
||||
)
|
||||
|
||||
|
||||
@@ -190,4 +190,3 @@ private:
|
||||
&_vtol_checks,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -285,4 +285,3 @@ TEST_F(ReporterTest, reporting_multiple)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -183,4 +183,3 @@ void EscChecks::checkEscStatus(const Context &context, Report &reporter, const e
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -879,4 +879,3 @@ bool EstimatorChecks::checkPosVelValidity(const hrt_abstime &now, const bool dat
|
||||
|
||||
return valid;
|
||||
}
|
||||
|
||||
|
||||
@@ -36,4 +36,3 @@ add_library(mode_util
|
||||
mode_requirements.cpp
|
||||
)
|
||||
add_dependencies(mode_util uorb_headers prebuild_targets)
|
||||
|
||||
|
||||
@@ -130,4 +130,3 @@ void FactoryCalibrationStorage::cleanup()
|
||||
param_control_autosave(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -194,4 +194,3 @@ private:
|
||||
);
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -283,4 +283,3 @@ private:
|
||||
);
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -137,4 +137,3 @@ if __name__ == "__main__":
|
||||
html_template_content = html_template_content.replace(html_tag, html_conditions)
|
||||
with open(html_output_file, 'w') as file:
|
||||
file.write(html_template_content)
|
||||
|
||||
|
||||
@@ -353,4 +353,3 @@ int lm_mag_fit(const float x[], const float y[], const float z[], unsigned int s
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -232,4 +232,3 @@ static inline union px4_custom_mode get_px4_custom_mode(uint8_t nav_state)
|
||||
}
|
||||
|
||||
#endif /* DEFINE_GET_PX4_CUSTOM_MODE */
|
||||
|
||||
|
||||
@@ -100,4 +100,3 @@ private:
|
||||
float _longitude;
|
||||
|
||||
};
|
||||
|
||||
|
||||
-1
@@ -56,4 +56,3 @@ void ActuatorEffectivenessRoverAckermann::updateSetpoint(const matrix::Vector<fl
|
||||
{
|
||||
stopMaskedMotorsWithZeroThrust(_motors_mask, actuator_sp);
|
||||
}
|
||||
|
||||
|
||||
@@ -559,4 +559,3 @@ float Ekf::getMagDeclination()
|
||||
// otherwise use the parameter value
|
||||
return math::radians(_params.mag_declination_deg);
|
||||
}
|
||||
|
||||
|
||||
@@ -46,4 +46,3 @@ px4_add_module(
|
||||
DEPENDS
|
||||
geo
|
||||
)
|
||||
|
||||
|
||||
@@ -260,4 +260,3 @@ void OutputBase::set_stabilize(bool roll_stabilize, bool pitch_stabilize, bool y
|
||||
}
|
||||
|
||||
} /* namespace gimbal */
|
||||
|
||||
|
||||
@@ -280,4 +280,3 @@
|
||||
|
||||
|
||||
#endif /* __CMSIS_COMPILER_H */
|
||||
|
||||
|
||||
@@ -514,4 +514,3 @@ extern const unsigned char hwLUT[256];
|
||||
#endif /* (defined(ARM_MATH_MVEI) || defined(ARM_MATH_HELIUM)) */
|
||||
|
||||
#endif /* ARM_COMMON_TABLES_H */
|
||||
|
||||
|
||||
@@ -45,4 +45,3 @@ px4_add_module(
|
||||
DEPENDS
|
||||
hysteresis
|
||||
)
|
||||
|
||||
|
||||
@@ -41,4 +41,3 @@ px4_add_module(
|
||||
KalmanFilter.cpp
|
||||
DEPENDS
|
||||
)
|
||||
|
||||
|
||||
@@ -200,4 +200,3 @@ parameters:
|
||||
num_instances: *max_num_config_instances
|
||||
default: [0.015, 0.015, 0.015]
|
||||
reboot_required: true
|
||||
|
||||
|
||||
@@ -164,4 +164,3 @@ private:
|
||||
(ParamFloat<px4::params::COM_SPOOLUP_TIME>) _param_com_spoolup_time
|
||||
)
|
||||
};
|
||||
|
||||
|
||||
@@ -379,4 +379,3 @@ dma_reset(void)
|
||||
stm32_dmastart(rx_dma, rx_dma_callback, NULL, false);
|
||||
rCR3 |= USART_CR3_DMAR;
|
||||
}
|
||||
|
||||
|
||||
@@ -39,4 +39,3 @@
|
||||
* @group UAVCAN
|
||||
*/
|
||||
PARAM_DEFINE_INT32(SIM_GZ_EN, 0);
|
||||
|
||||
|
||||
@@ -40,4 +40,3 @@ px4_add_module(
|
||||
tailsitter.cpp
|
||||
standard.cpp
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user