ACM : forced setup_show to dump params during log dump for better analysis.

This commit is contained in:
Jason Short 2012-09-10 20:52:10 -07:00
parent 7e672628ea
commit 4c8e257ea2
3 changed files with 8 additions and 1 deletions

View File

@ -935,6 +935,9 @@ AP_Relay relay;
static bool usb_connected;
#endif
#if CLI_ENABLED == ENABLED
static int8_t setup_show (uint8_t argc, const Menu::arg *argv);
#enduf
// Camera/Antenna mount tracking and stabilisation stuff
// --------------------------------------

View File

@ -963,6 +963,10 @@ static void Log_Read(int16_t start_page, int16_t end_page)
Serial.printf_P(PSTR("APM 1\n"));
#endif
#if CLI_ENABLED == ENABLED
setup_show(NULL, NULL);
#enduf
if(start_page > end_page) {
packet_count = Log_Read_Process(start_page, DataFlash.df_NumPages);
packet_count += Log_Read_Process(1, end_page);

View File

@ -19,7 +19,7 @@ static int8_t setup_range (uint8_t argc, const Men
//static int8_t setup_mag_offset (uint8_t argc, const Menu::arg *argv);
static int8_t setup_declination (uint8_t argc, const Menu::arg *argv);
static int8_t setup_optflow (uint8_t argc, const Menu::arg *argv);
static int8_t setup_show (uint8_t argc, const Menu::arg *argv);
#if FRAME_CONFIG == HELI_FRAME
static int8_t setup_heli (uint8_t argc, const Menu::arg *argv);