aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/usbh/dev/msd.h
diff options
context:
space:
mode:
authorDiego Ismirlian <dismirlian@gmail.com>2019-09-30 17:47:30 -0300
committerDiego Ismirlian <dismirlian@gmail.com>2019-10-02 17:03:43 -0300
commit77021bb6466f731a572985cebe65d139c212d88d (patch)
tree7bb8899e93003fb7cceb6f2bfd527253c5d03f39 /os/hal/include/usbh/dev/msd.h
parent0c260638da6dde3896a2fd6c4e3b39ee1a1b12e9 (diff)
downloadChibiOS-Contrib-77021bb6466f731a572985cebe65d139c212d88d.tar.gz
ChibiOS-Contrib-77021bb6466f731a572985cebe65d139c212d88d.tar.bz2
ChibiOS-Contrib-77021bb6466f731a572985cebe65d139c212d88d.zip
USBH: add helper macros to MSD, FTDI, AOA
Diffstat (limited to 'os/hal/include/usbh/dev/msd.h')
-rw-r--r--os/hal/include/usbh/dev/msd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/os/hal/include/usbh/dev/msd.h b/os/hal/include/usbh/dev/msd.h
index b245bfc..113f523 100644
--- a/os/hal/include/usbh/dev/msd.h
+++ b/os/hal/include/usbh/dev/msd.h
@@ -72,7 +72,6 @@ struct USBHMassStorageLUNDriver {
/* Driver macros. */
/*===========================================================================*/
-
/*===========================================================================*/
/* External declarations. */
/*===========================================================================*/
@@ -95,6 +94,8 @@ extern "C" {
bool usbhmsdLUNGetInfo(USBHMassStorageLUNDriver *lunp, BlockDeviceInfo *bdip);
bool usbhmsdLUNIsInserted(USBHMassStorageLUNDriver *lunp);
bool usbhmsdLUNIsProtected(USBHMassStorageLUNDriver *lunp);
+
+ USBHDriver *usbhmsdLUNGetHost(const USBHMassStorageLUNDriver *lunp);
#ifdef __cplusplus
}
#endif