aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/lib
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-02-26 12:58:27 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-02-26 12:58:27 +0000
commitf89581412a224d6475467c719ae385b1f700f413 (patch)
treef02dc1454c079d182cdc139ca6773ba738836e8e /os/hal/lib
parentded86ea98092bd06a096275ab5e86185eaf46145 (diff)
downloadChibiOS-f89581412a224d6475467c719ae385b1f700f413.tar.gz
ChibiOS-f89581412a224d6475467c719ae385b1f700f413.tar.bz2
ChibiOS-f89581412a224d6475467c719ae385b1f700f413.zip
BaseFlash now extends BaseObject.
git-svn-id: https://svn.code.sf.net/p/chibios/svn2/trunk@11548 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/lib')
-rw-r--r--os/hal/lib/peripherals/flash/hal_flash.h4
1 files changed, 4 insertions, 0 deletions
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 {