aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src/usbh/hal_usbh_msd.c
diff options
context:
space:
mode:
authorFabien Poussin <fabien.poussin@gmail.com>2018-09-27 08:28:59 +0200
committerGitHub <noreply@github.com>2018-09-27 08:28:59 +0200
commit38bcaedef46834e8a903c0c4a05884d221d2fc2e (patch)
tree3b42ac586b21ea36c3e5af49edff0d1e357502ea /os/hal/src/usbh/hal_usbh_msd.c
parentfe95e90b80a28dd2f40bfee1ad90822b99519c6a (diff)
parent6f018973caa979897d4c932222b53e705113b612 (diff)
downloadChibiOS-Contrib-38bcaedef46834e8a903c0c4a05884d221d2fc2e.tar.gz
ChibiOS-Contrib-38bcaedef46834e8a903c0c4a05884d221d2fc2e.tar.bz2
ChibiOS-Contrib-38bcaedef46834e8a903c0c4a05884d221d2fc2e.zip
Merge pull request #167 from ObKo/chibios-18.2.x
Diffstat (limited to 'os/hal/src/usbh/hal_usbh_msd.c')
-rw-r--r--os/hal/src/usbh/hal_usbh_msd.c1
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,