diff options
author | Paul Roukema <roukemap@gmail.com> | 2018-08-05 23:59:06 -0400 |
---|---|---|
committer | Paul Roukema <roukemap@gmail.com> | 2018-08-05 23:59:06 -0400 |
commit | 2a9d939d72a8c22d248450107b26e25506d42160 (patch) | |
tree | e6a260480f1d62be07c9ad219dc6b746ac2aac9e /os/hal/src/usbh/hal_usbh_msd.c | |
parent | fe95e90b80a28dd2f40bfee1ad90822b99519c6a (diff) | |
download | ChibiOS-Contrib-2a9d939d72a8c22d248450107b26e25506d42160.tar.gz ChibiOS-Contrib-2a9d939d72a8c22d248450107b26e25506d42160.tar.bz2 ChibiOS-Contrib-2a9d939d72a8c22d248450107b26e25506d42160.zip |
Fix incompatible USBH VMTs
Diffstat (limited to 'os/hal/src/usbh/hal_usbh_msd.c')
-rw-r--r-- | os/hal/src/usbh/hal_usbh_msd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/os/hal/src/usbh/hal_usbh_msd.c b/os/hal/src/usbh/hal_usbh_msd.c index 7233a0b..fe97ff0 100644 --- a/os/hal/src/usbh/hal_usbh_msd.c +++ b/os/hal/src/usbh/hal_usbh_msd.c @@ -683,6 +683,7 @@ static msd_result_t scsi_write10(USBHMassStorageLUNDriver *lunp, uint32_t lba, u USBHMassStorageLUNDriver MSBLKD[HAL_USBHMSD_MAX_LUNS]; static const struct USBHMassStorageDriverVMT blk_vmt = { + (size_t)0, (bool (*)(void *))usbhmsdLUNIsInserted, (bool (*)(void *))usbhmsdLUNIsProtected, (bool (*)(void *))usbhmsdLUNConnect, |