I got this error when compiling this thing on teensyduino 3.0/3.1/3.2 with Arduino 1.6.5-r5. After installing teensyduino on the Arduino software, an error came out.
The teensyduino Version 1.25. And current environment is Linux Ubuntu 14.04 AMD64.
arduino-1.6.5-r5/libraries/GCS_MAVLink/GCS_MAVLink.cpp:22:44: error: too many initializers for 'mavlink_system_t {aka __mavlink_system}'
mavlink_system_t mavlink_system = {12,1,0,0}; //modified
^
Error compiling.
I got this error when compiling this thing on teensyduino 3.0/3.1/3.2 with Arduino 1.6.5-r5. After installing teensyduino on the Arduino software, an error came out.
The teensyduino Version 1.25. And current environment is Linux Ubuntu 14.04 AMD64.
But after I go to the library codes and change the codes from https://github.com/chsw/MavLink_FrSkySPort/blob/master/libraries/GCS_MAVLink/GCS_MAVLink.cpp#L22
from
to
Then it works.
This is a bug. If you have time, please check it out and update it.
:)
xros