diff options
Diffstat (limited to 'include/usb_mode.h')
-rw-r--r-- | include/usb_mode.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/usb_mode.h b/include/usb_mode.h index 98157626aa..598024d683 100644 --- a/include/usb_mode.h +++ b/include/usb_mode.h @@ -15,6 +15,7 @@ #include <stdint.h> #include "tcpm/tcpm.h" +#include "usb_pd_tcpm.h" /* * Initialize USB4 state for the specified port. @@ -71,7 +72,7 @@ bool enter_usb_cable_is_capable(int port); * @param port USB-C port number * @param type Transmit type (SOP, SOP', SOP'') for request */ -void enter_usb_accepted(int port, enum tcpm_transmit_type type); +void enter_usb_accepted(int port, enum tcpm_sop_type type); /* * Handles rejected USB4 response @@ -79,7 +80,7 @@ void enter_usb_accepted(int port, enum tcpm_transmit_type type); * @param port USB-C port number * @param type Transmit type (SOP, SOP', SOP'') for request */ -void enter_usb_rejected(int port, enum tcpm_transmit_type type); +void enter_usb_rejected(int port, enum tcpm_sop_type type); /* * Constructs the next USB4 EUDO that should be sent. @@ -87,6 +88,6 @@ void enter_usb_rejected(int port, enum tcpm_transmit_type type); * @param port USB-C port number * @param type Transmit type (SOP, SOP', SOP'') for request */ -uint32_t enter_usb_setup_next_msg(int port, enum tcpm_transmit_type *type); +uint32_t enter_usb_setup_next_msg(int port, enum tcpm_sop_type *type); #endif |