aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/usbh/dev/ftdi.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include/usbh/dev/ftdi.h')
-rw-r--r--os/hal/include/usbh/dev/ftdi.h2
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. */