navigator_main.cpp: don't reset wv enable status (#14901)

* navigator_main.cpp: don't reset wv enable status

* fix review
This commit is contained in:
Pandacoolcool
2020-05-27 20:49:04 +08:00
committed by GitHub
parent c0bf5cc94c
commit 664c79742b
+1 -1
View File
@@ -891,7 +891,7 @@ Navigator::reset_position_setpoint(position_setpoint_s &sp)
sp.cruising_throttle = get_cruising_throttle();
sp.valid = false;
sp.type = position_setpoint_s::SETPOINT_TYPE_IDLE;
sp.disable_weather_vane = true;
sp.disable_weather_vane = false;
}
float