From e8dda5f8eea2d59fa92e124327e4b2f7885d75ad Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Mon, 26 Feb 2018 13:05:55 +0000 Subject: BaseBlockDevice now extends BaseObject. git-svn-id: https://svn.code.sf.net/p/chibios/svn2/trunk@11549 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- os/hal/include/hal_ioblock.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'os/hal/include/hal_ioblock.h') diff --git a/os/hal/include/hal_ioblock.h b/os/hal/include/hal_ioblock.h index 74c41034f..c720a4a8c 100644 --- a/os/hal/include/hal_ioblock.h +++ b/os/hal/include/hal_ioblock.h @@ -61,6 +61,7 @@ typedef struct { * @brief @p BaseBlockDevice specific methods. */ #define _base_block_device_methods \ + _base_object_methods \ /* Removable media detection.*/ \ bool (*is_inserted)(void *instance); \ /* Removable write protection detection.*/ \ @@ -84,6 +85,7 @@ typedef struct { * @brief @p BaseBlockDevice specific data. */ #define _base_block_device_data \ + _base_object_data \ /* Driver state.*/ \ blkstate_t state; @@ -95,6 +97,8 @@ struct BaseBlockDeviceVMT { }; /** + * @extends BaseObject + * * @brief Base block device class. * @details This class represents a generic, block-accessible, device. */ -- cgit v1.2.3