mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
Heli: fixed some 'used before initialised' warnings
This commit is contained in:
parent
028de5d2c5
commit
12327eb2a9
@ -457,7 +457,7 @@ setup_heli(uint8_t argc, const Menu::arg *argv)
|
||||
int value = 0;
|
||||
int temp;
|
||||
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
|
||||
heli_init_swash();
|
||||
|
Loading…
Reference in New Issue
Block a user