From 55504e7fcc8157538554b9e63489bfe872054eaa Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Sat, 27 May 2023 08:28:33 +1000 Subject: [PATCH] AP_HAL: add support for get_persistent_param_by_name --- libraries/AP_HAL/Util.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/AP_HAL/Util.h b/libraries/AP_HAL/Util.h index 289c7a77b6..b605fecaba 100644 --- a/libraries/AP_HAL/Util.h +++ b/libraries/AP_HAL/Util.h @@ -184,6 +184,10 @@ public: // load persistent parameters from bootloader sector 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 // request information on uart I/O virtual void uart_info(ExpandingString &str) {}