mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 10:33:34 +08:00
Navigator: loiter: remove unnecessary _loiter_pos_set (#21776)
* Navigator: loiter: remove unnecessary _loiter_pos_set Signed-off-by: Silvan Fuhrer <silvan@auterion.com> * Navigator: loiter: remove commented line --------- Signed-off-by: Silvan Fuhrer <silvan@auterion.com> Co-authored-by: Matthias Grob <maetugr@gmail.com>
This commit is contained in:
co-authored by
Matthias Grob
parent
a6d2c2cf5e
commit
4348dcce2a
@@ -51,7 +51,6 @@ public:
|
||||
Loiter(Navigator *navigator);
|
||||
~Loiter() = default;
|
||||
|
||||
void on_inactive() override;
|
||||
void on_activation() override;
|
||||
void on_active() override;
|
||||
|
||||
@@ -67,5 +66,4 @@ private:
|
||||
*/
|
||||
void set_loiter_position();
|
||||
|
||||
bool _loiter_pos_set{false};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user