diff options
author | Diego Ismirlian <dismirlian@gmail.com> | 2019-09-30 17:47:30 -0300 |
---|---|---|
committer | Diego Ismirlian <dismirlian@gmail.com> | 2019-10-02 17:03:43 -0300 |
commit | 77021bb6466f731a572985cebe65d139c212d88d (patch) | |
tree | 7bb8899e93003fb7cceb6f2bfd527253c5d03f39 /os/hal/include/usbh/dev/ftdi.h | |
parent | 0c260638da6dde3896a2fd6c4e3b39ee1a1b12e9 (diff) | |
download | ChibiOS-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/ftdi.h')
-rw-r--r-- | os/hal/include/usbh/dev/ftdi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/include/usbh/dev/ftdi.h b/os/hal/include/usbh/dev/ftdi.h index 84ea4bc..fdd767d 100644 --- a/os/hal/include/usbh/dev/ftdi.h +++ b/os/hal/include/usbh/dev/ftdi.h @@ -127,7 +127,7 @@ struct USBHFTDIDriver { /* Driver macros. */
/*===========================================================================*/
#define usbhftdipGetState(ftdipp) ((ftdipp)->state)
-
+#define usbhftdipGetHost(ftdipp) ((ftdipp)->ftdip->dev->host)
/*===========================================================================*/
/* External declarations. */
|