From f89581412a224d6475467c719ae385b1f700f413 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Mon, 26 Feb 2018 12:58:27 +0000 Subject: BaseFlash now extends BaseObject. git-svn-id: https://svn.code.sf.net/p/chibios/svn2/trunk@11548 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- os/hal/lib/peripherals/flash/hal_flash.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'os/hal/lib/peripherals/flash/hal_flash.h') diff --git a/os/hal/lib/peripherals/flash/hal_flash.h b/os/hal/lib/peripherals/flash/hal_flash.h index e2421b5df..b540b831d 100644 --- a/os/hal/lib/peripherals/flash/hal_flash.h +++ b/os/hal/lib/peripherals/flash/hal_flash.h @@ -162,6 +162,7 @@ typedef struct { * @brief @p BaseFlash specific methods with inherited ones. */ #define _base_flash_methods \ + _base_object_methods \ _base_flash_methods_alone /** @@ -175,10 +176,13 @@ struct BaseFlashVMT { * @brief @p BaseFlash specific data. */ #define _base_flash_data \ + _base_object_data \ /* Driver state.*/ \ flash_state_t state; /** + * @extends BaseObject + * * @brief Base flash class. */ typedef struct { -- cgit v1.2.3