From 6d4ac999d01e404bbde67f9490133cde6de7ae55 Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Mon, 8 Nov 2021 19:49:20 +0530 Subject: [PATCH] AP_HAL: add get_storage_ptr method --- libraries/AP_HAL/Storage.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_HAL/Storage.h b/libraries/AP_HAL/Storage.h index e5bafc43cc..9fcd9ad917 100644 --- a/libraries/AP_HAL/Storage.h +++ b/libraries/AP_HAL/Storage.h @@ -11,4 +11,5 @@ public: virtual void write_block(uint16_t dst, const void* src, size_t n) = 0; virtual void _timer_tick(void) {}; virtual bool healthy(void) { return true; } + virtual bool get_storage_ptr(void *&ptr, size_t &size) { return false; } };