mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
Forgot to initialize the fields for metadata
This commit is contained in:
parent
62bb4601c5
commit
4233c7da0d
@ -27,7 +27,8 @@ public class UAVMetaObject extends UAVObject {
|
||||
modesBitField.add("FlightUpdateOnChange");
|
||||
modesBitField.add("GCSUpdatePeriodic");
|
||||
modesBitField.add("GCSUpdateOnChange");
|
||||
|
||||
|
||||
List<UAVObjectField> fields = new ArrayList<UAVObjectField>();
|
||||
fields.add( new UAVObjectField("Modes", "", UAVObjectField.FieldType.BITFIELD, 1, modesBitField) );
|
||||
fields.add( new UAVObjectField("Flight Telemetry Update Period", "ms", UAVObjectField.FieldType.UINT16, 1, null) );
|
||||
fields.add( new UAVObjectField("GCS Telemetry Update Period", "ms", UAVObjectField.FieldType.UINT16, 1, null) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user