mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-15 05:08:41 -04:00
Heli: fixed some 'used before initialised' warnings
This commit is contained in:
parent
f86e1ed63f
commit
b06f35eaa2
@ -457,7 +457,7 @@ setup_heli(uint8_t argc, const Menu::arg *argv)
|
|||||||
int value = 0;
|
int value = 0;
|
||||||
int temp;
|
int temp;
|
||||||
int state = 0; // 0 = set rev+pos, 1 = capture min/max
|
int state = 0; // 0 = set rev+pos, 1 = capture min/max
|
||||||
int max_roll, max_pitch, min_collective, max_collective, min_tail, max_tail;
|
int max_roll=0, max_pitch=0, min_collective=0, max_collective=0, min_tail=0, max_tail=0;
|
||||||
|
|
||||||
// initialise swash plate
|
// initialise swash plate
|
||||||
heli_init_swash();
|
heli_init_swash();
|
||||||
|
Loading…
Reference in New Issue
Block a user