diff options
Diffstat (limited to 'board/fruitpie')
-rw-r--r-- | board/fruitpie/usb_pd_config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/fruitpie/usb_pd_config.h b/board/fruitpie/usb_pd_config.h index 3c53d5e923..75d3b112c3 100644 --- a/board/fruitpie/usb_pd_config.h +++ b/board/fruitpie/usb_pd_config.h @@ -84,6 +84,11 @@ static inline int pd_adc_read(int cc) return adc_read_channel(ADC_CH_CC2_PD); } +static inline int pd_snk_is_vbus_provided(void) +{ + return 1; +} + /* Standard-current DFP : no-connect voltage is 1.55V */ #define PD_SRC_VNC 1550 /* mV */ |