fixed uninitialised variables
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3255 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
fc0c75963b
commit
9516b97ab9
@ -1142,7 +1142,7 @@ void update_roll_pitch_mode(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int control_roll, control_pitch;
|
int control_roll = 0, control_pitch = 0;
|
||||||
|
|
||||||
|
|
||||||
switch(roll_pitch_mode){
|
switch(roll_pitch_mode){
|
||||||
|
Loading…
Reference in New Issue
Block a user