mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
Merge remote-tracking branch 'origin/dwillis/OP-1832' into next
This commit is contained in:
commit
a76c41a1ef
@ -115,6 +115,17 @@ $(INITFIELDS)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a new instance of this UAVDataObject with default field
|
||||
* values. This is intended to be used by 'reset to default' functionality.
|
||||
*
|
||||
* @return new instance of this class with default values.
|
||||
*/
|
||||
@Override
|
||||
public UAVDataObject getDefaultInstance(){
|
||||
return new $(NAME)();
|
||||
}
|
||||
|
||||
/**
|
||||
* Static function to retrieve an instance of the object.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user