mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-12 23:40:35 +08:00
mavlink: code style fixed
This commit is contained in:
@@ -780,6 +780,7 @@ protected:
|
||||
|
||||
/* set number of valid outputs depending on vehicle type */
|
||||
unsigned n;
|
||||
|
||||
switch (mavlink_system.type) {
|
||||
case MAV_TYPE_QUADROTOR:
|
||||
n = 4;
|
||||
@@ -807,6 +808,7 @@ protected:
|
||||
/* send 0 when disarmed */
|
||||
out[i] = 0.0f;
|
||||
}
|
||||
|
||||
} else {
|
||||
out[i] = -1.0f;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user