diff --git a/EKF/ekf.cpp b/EKF/ekf.cpp index c39bff3d09..fedee2669a 100644 --- a/EKF/ekf.cpp +++ b/EKF/ekf.cpp @@ -242,7 +242,7 @@ bool Ekf::update() } } -bool Ekf::initialiseFilter(void) +bool Ekf::initialiseFilter() { // Keep accumulating measurements until we have a minimum of 10 samples for the required sensors diff --git a/l1/ecl_l1_pos_controller.cpp b/l1/ecl_l1_pos_controller.cpp index d1c864d782..5f512e40cf 100644 --- a/l1/ecl_l1_pos_controller.cpp +++ b/l1/ecl_l1_pos_controller.cpp @@ -75,12 +75,12 @@ float ECL_L1_Pos_Controller::switch_distance(float wp_radius) return math::min(wp_radius, _L1_distance); } -bool ECL_L1_Pos_Controller::reached_loiter_target(void) +bool ECL_L1_Pos_Controller::reached_loiter_target() { return _circle_mode; } -float ECL_L1_Pos_Controller::crosstrack_error(void) +float ECL_L1_Pos_Controller::crosstrack_error() { return _crosstrack_error; }