AP_GPS: add clarifying comment on _configure_config_set method

it's a bit confusingly named, because it doesn't actually "set" anything - it gets messages from the GPS which are then parsed and responded to based on the received values.
This commit is contained in:
Peter Barker 2023-05-26 14:44:32 +10:00 committed by Peter Barker
parent 92942137fa
commit e415b5fda0
1 changed files with 5 additions and 1 deletions

View File

@ -1809,7 +1809,11 @@ AP_GPS_UBLOX::_configure_valget(ConfigKey key)
}
/*
* configure F9 based key/value pair for a complete config list
* configure F9 based key/value pair for a complete configuration set
*
* this method requests each configuration variable from the GPS.
* When we handle the reply in _parse_gps we may then choose to set a
* MSG_CFG_VALSET back to the GPS if we don't like its response.
*/
bool
AP_GPS_UBLOX::_configure_config_set(const config_list *list, uint8_t count, uint32_t unconfig_bit, uint8_t layers)