mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 02:51:37 +08:00
Fixed uninitialized variable
This commit is contained in:
@@ -129,7 +129,7 @@ private:
|
|||||||
|
|
||||||
ECL_L1_Pos_Controller _gnd_control;
|
ECL_L1_Pos_Controller _gnd_control;
|
||||||
|
|
||||||
bool _waypoint_reached;
|
bool _waypoint_reached{false};
|
||||||
|
|
||||||
enum UGV_POSCTRL_MODE {
|
enum UGV_POSCTRL_MODE {
|
||||||
UGV_POSCTRL_MODE_AUTO,
|
UGV_POSCTRL_MODE_AUTO,
|
||||||
|
|||||||
Reference in New Issue
Block a user