forked from Archive/PX4-Autopilot
MAVLink app: Update incorrect comment
This commit is contained in:
parent
e4afce8b1b
commit
44c8857354
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue