d3ngit / djihdfpv_mavlink_to_msp_V2

DJI_mavlink_to_MSP_V2
57 stars 23 forks source link

Warning msp_servo_configurations_t #11

Open schally73 opened 4 years ago

schally73 commented 4 years ago

Hello,

see the Programme and want use the get my mavlink infor from my Pixhawk 4 to my DJI air unit.

by check the programm I get the error

In file included from C:\Users\keller\Downloads\djihdfpv_mavlink_to_msp_V2-master\djihdfpv_mavlink_to_msp_V2-master\djihdfpv_mavlink_to_msp_V2\djihdfpv_mavlink_to_msp_V2.ino:20:0: C:\Program Files (x86)\Arduino\libraries\MSP/MSP.h:216:34: warning: 'packed' attribute ignored for field of type 'msp_servo_configurations_t:: [8]' [-Wattributes] } conf[MSP_MAX_SUPPORTED_SERVOS]; ^ C:\Program Files (x86)\Arduino\libraries\MSP/MSP.h:231:32: warning: 'packed' attribute ignored for field of type 'msp_servo_mix_rules_t:: [16]' [-Wattributes] } mixRule[MSP_MAX_SERVO_RULES]; ^ Der Sketch verwendet 12246 Bytes (39%) des Programmspeicherplatzes. Das Maximum sind 30720 Bytes. Globale Variablen verwenden 1187 Bytes (57%) des dynamischen Speichers, 861 Bytes für lokale Variablen verbleiben. Das Maximum sind 2048 Bytes.

Libraries are in the Arduion path. How can I fix this Issues?

Thanks for Support.

d3ngit commented 4 years ago

They're just warnings, you can ignore them. It's something with the msp library I got from github.

You can also disable the "warnings" somewhere in the Arduino ide settings.

schally73 commented 4 years ago

it works thanks