AP_NMEA_Output: align param info structures to save flash

This commit is contained in:
Iampete1 2023-01-04 01:39:14 +00:00 committed by Andrew Tridgell
parent 37b54a7c9c
commit 57e35f39b1
1 changed files with 1 additions and 3 deletions

View File

@ -32,10 +32,8 @@ public:
static AP_SerialManager serial_manager; static AP_SerialManager serial_manager;
#define GOBJECT(v, name, class) { AP_PARAM_GROUP, name, Parameters::k_param_ ## v, (const void *)&v, {group_info : class::var_info} }
const struct AP_Param::Info var_info[] = { const struct AP_Param::Info var_info[] = {
// GOBJECT(serial_manager, "SERIAL", AP_SerialManager), { "SERIAL", (const void *)&serial_manager, {group_info : AP_SerialManager::var_info}, 0, Parameters::k_param_serial_manager, AP_PARAM_GROUP },
{ AP_PARAM_GROUP, "SERIAL", Parameters::k_param_serial_manager, (const void *)&serial_manager, {group_info : AP_SerialManager::var_info} },
AP_VAREND AP_VAREND
}; };