MAVLink app: Update incorrect comment

This commit is contained in:
Lorenz Meier 2017-02-17 10:00:11 +01:00
parent e4afce8b1b
commit 44c8857354
1 changed files with 1 additions and 1 deletions

View File

@ -2268,7 +2268,7 @@ protected:
for (unsigned i = 0; i < 8; i++) {
if (act.output[i] > PWM_DEFAULT_MIN / 2) {
if (i < n) {
/* scale PWM out PWM_DEFAULT_MIN..PWM_DEFAULT_MAX us to -1..1 for rotors */
/* scale PWM out PWM_DEFAULT_MIN..PWM_DEFAULT_MAX us to 0..1 for rotors */
out[i] = (act.output[i] - PWM_DEFAULT_MIN) / (PWM_DEFAULT_MAX - PWM_DEFAULT_MIN);
} else {