AP_Param: allow AP_PARAM_KEY_DUMP from sim_vehicle cmdline

./Tools/autotest/sim_vehicle.py -v ArduCopter --map --configure-define=AP_PARAM_KEY_DUMP=1
This commit is contained in:
Peter Barker 2024-02-21 16:47:49 +11:00 committed by Peter Barker
parent 3a38aeda59
commit b22185436e
1 changed files with 2 additions and 0 deletions

View File

@ -36,7 +36,9 @@
#define AP_MAX_NAME_SIZE 16
// optionally enable debug code for dumping keys
#ifndef AP_PARAM_KEY_DUMP
#define AP_PARAM_KEY_DUMP 0
#endif
#if defined(HAL_GCS_ENABLED)
#define AP_PARAM_DEFAULTS_ENABLED HAL_GCS_ENABLED