Airspeed: updates for new AP_Param API

This commit is contained in:
Andrew Tridgell 2012-12-13 08:42:43 +11:00
parent 5c148153ac
commit b5a23d934b

View File

@ -11,7 +11,9 @@ class AP_Airspeed
{
public:
// constructor
AP_Airspeed() {};
AP_Airspeed() {
AP_Param::setup_object_defaults(this, var_info);
};
void init(AP_HAL::AnalogSource *source) {
_source = source;