aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-02-26 13:05:55 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-02-26 13:05:55 +0000
commite8dda5f8eea2d59fa92e124327e4b2f7885d75ad (patch)
tree32a6d1f9b5c31abe3d27482b64b6d37bcbeba764 /os/hal/src
parentf89581412a224d6475467c719ae385b1f700f413 (diff)
downloadChibiOS-e8dda5f8eea2d59fa92e124327e4b2f7885d75ad.tar.gz
ChibiOS-e8dda5f8eea2d59fa92e124327e4b2f7885d75ad.tar.bz2
ChibiOS-e8dda5f8eea2d59fa92e124327e4b2f7885d75ad.zip
BaseBlockDevice now extends BaseObject.
git-svn-id: https://svn.code.sf.net/p/chibios/svn2/trunk@11549 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/src')
-rw-r--r--os/hal/src/hal_mmc_spi.c1
-rw-r--r--os/hal/src/hal_sdc.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/src/hal_mmc_spi.c b/os/hal/src/hal_mmc_spi.c
index 73c047086..1daea1fb6 100644
--- a/os/hal/src/hal_mmc_spi.c
+++ b/os/hal/src/hal_mmc_spi.c
@@ -53,6 +53,7 @@ static bool mmc_write(void *instance, uint32_t startblk,
* @brief Virtual methods table.
*/
static const struct MMCDriverVMT mmc_vmt = {
+ (size_t)0,
(bool (*)(void *))mmc_lld_is_card_inserted,
(bool (*)(void *))mmc_lld_is_write_protected,
(bool (*)(void *))mmcConnect,
diff --git a/os/hal/src/hal_sdc.c b/os/hal/src/hal_sdc.c
index 25add1417..ae64c95b5 100644
--- a/os/hal/src/hal_sdc.c
+++ b/os/hal/src/hal_sdc.c
@@ -72,6 +72,7 @@ typedef enum {
* @brief Virtual methods table.
*/
static const struct SDCDriverVMT sdc_vmt = {
+ (size_t)0,
(bool (*)(void *))sdc_lld_is_card_inserted,
(bool (*)(void *))sdc_lld_is_write_protected,
(bool (*)(void *))sdcConnect,