AP_HAL: add support for get_persistent_param_by_name

This commit is contained in:
bugobliterator 2023-05-27 08:28:33 +10:00 committed by Randy Mackay
parent 3e76e12ca6
commit bd7e969e7d
1 changed files with 4 additions and 0 deletions

View File

@ -184,6 +184,10 @@ public:
// load persistent parameters from bootloader sector // load persistent parameters from bootloader sector
virtual bool load_persistent_params(ExpandingString &str) const { return false; } virtual bool load_persistent_params(ExpandingString &str) const { return false; }
virtual bool get_persistent_param_by_name(const char *name, char* value, size_t& len) const {
return false;
}
#if HAL_UART_STATS_ENABLED #if HAL_UART_STATS_ENABLED
// request information on uart I/O // request information on uart I/O
virtual void uart_info(ExpandingString &str) {} virtual void uart_info(ExpandingString &str) {}