1
0
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:
Alessio Morale 2015-04-29 19:36:17 +02:00
commit a76c41a1ef

View File

@ -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.
*/