Browse Source

Plane: fixed structure init for arduino compiler

mission-4.1.18
Andrew Tridgell 12 years ago
parent
commit
42344455c9
  1. 8
      ArduPlane/ArduPlane.pde

8
ArduPlane/ArduPlane.pde

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

Loading…
Cancel
Save