APM_OBC: updates for new AP_Param API

This commit is contained in:
Andrew Tridgell 2012-12-13 08:41:54 +11:00
parent 9349259487
commit e45f32a4b6

View File

@ -35,6 +35,8 @@ public:
// Constructor // Constructor
APM_OBC(void) APM_OBC(void)
{ {
AP_Param::setup_object_defaults(this, var_info);
_last_heartbeat_pin = -1; _last_heartbeat_pin = -1;
_last_manual_pin = -1; _last_manual_pin = -1;
_state = STATE_PREFLIGHT; _state = STATE_PREFLIGHT;