From 0ff8dcf58aab068593372cd452d0cb8d9e6fdca0 Mon Sep 17 00:00:00 2001 From: Jacob Walser Date: Fri, 14 Apr 2017 14:50:38 -0400 Subject: [PATCH] Sub: Reword stale comment --- ArduSub/flight_mode.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/ArduSub/flight_mode.cpp b/ArduSub/flight_mode.cpp index d7c5f0a0c6..c98131bb8e 100644 --- a/ArduSub/flight_mode.cpp +++ b/ArduSub/flight_mode.cpp @@ -1,14 +1,7 @@ #include "Sub.h" -/* - * flight.pde - high level calls to set and update flight modes - * logic for individual flight modes is in control_acro.pde, control_stabilize.pde, etc - */ - -// set_mode - change flight mode and perform any necessary initialisation -// optional force parameter used to force the flight mode change (used only first time mode is set) +// change flight mode and perform any necessary initialisation // returns true if mode was succesfully set -// ACRO, STABILIZE, ALTHOLD, LAND, DRIFT and SPORT can always be set successfully but the return state of other flight modes should be checked and the caller should deal with failures appropriately bool Sub::set_mode(control_mode_t mode, mode_reason_t reason) { // boolean to record if flight mode could be set