diff --git a/libraries/AP_Param/AP_Param.h b/libraries/AP_Param/AP_Param.h index a7f47c814b..9433758377 100644 --- a/libraries/AP_Param/AP_Param.h +++ b/libraries/AP_Param/AP_Param.h @@ -1018,6 +1018,9 @@ public: operator const eclass () const { return (eclass)_value; } + void set(eclass v) { + AP_Int8::set(int8_t(v)); + } }; template @@ -1027,4 +1030,7 @@ public: operator const eclass () const { return (eclass)_value; } + void set(eclass v) { + AP_Int16::set(int16_t(v)); + } };