djihdfpv_mavlink_to_msp_V2 icon indicating copy to clipboard operation
djihdfpv_mavlink_to_msp_V2 copied to clipboard

Warning msp_servo_configurations_t

Open schally73 opened this issue 4 years ago • 2 comments

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.

schally73 avatar Jul 23 '20 19:07 schally73

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.

d3ngit avatar Jul 24 '20 04:07 d3ngit

it works thanks

schally73 avatar Aug 22 '20 15:08 schally73