From bbf852787e0c2adfb7f88e66857d907c28bd34b1 Mon Sep 17 00:00:00 2001 From: sander Date: Tue, 21 Jun 2016 21:22:36 +0200 Subject: [PATCH] Rename param to throttle --- src/modules/navigator/navigator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/navigator/navigator.h b/src/modules/navigator/navigator.h index 6092f6cc4a..02b1548dbd 100644 --- a/src/modules/navigator/navigator.h +++ b/src/modules/navigator/navigator.h @@ -189,7 +189,7 @@ public: /** * Set the target throttle */ - void set_cruising_throttle(float percent=-1.0f) { _mission_throttle = percent; } + void set_cruising_throttle(float throttle=-1.0f) { _mission_throttle = throttle; } /** * Get the acceptance radius given the mission item preset radius