Plane: fixed structure init for arduino compiler

This commit is contained in:
Andrew Tridgell 2013-04-15 21:59:07 +10:00
parent 9f0f482dd7
commit 42344455c9
1 changed files with 4 additions and 4 deletions

View File

@ -306,10 +306,10 @@ static struct {
uint16_t ch1_temp;
uint16_t ch2_temp;
} elevon = {
.trim1 = 1500,
.trim2 = 1500,
.ch1_temp = 1500,
.ch2_temp = 1500
trim1 : 1500,
trim2 : 1500,
ch1_temp : 1500,
ch2_temp : 1500
};
// A flag if GCS joystick control is in use