From 36096550b8a06121532f64ac402524178bf6f9bc Mon Sep 17 00:00:00 2001 From: Jacob Walser Date: Wed, 15 Feb 2017 19:06:12 -0500 Subject: [PATCH] Sub: Set frame type flag for AP_Param --- ArduSub/Parameters.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArduSub/Parameters.cpp b/ArduSub/Parameters.cpp index e5a33dbcf7..fbfa23d1ab 100644 --- a/ArduSub/Parameters.cpp +++ b/ArduSub/Parameters.cpp @@ -958,6 +958,8 @@ void Sub::load_parameters(void) AP_Param::load_all(); cliSerial->printf("load_all took %uus\n", (unsigned)(micros() - before)); + AP_Param::set_frame_type_flags(AP_PARAM_FRAME_SUB); + convert_old_parameters(); AP_Param::set_default_by_name("BRD_SAFETYENABLE", 0);