You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

17 lines
515 B

#ifndef PD_CHUNK_FUNC_H
#define PD_CHUNK_FUNC_H
#include "pd_config.h"
#include "usb_typec_port.h"
#ifdef CFG_PD_CHUNKED_EXT_MSG
void pd_chunk_layer_run(typec_port_s *port);
void pd_chunk_layer_reset(typec_port port);
void pd_chunk_layer_init(typec_port port);
#else
static inline void pd_chunk_layer_run(typec_port_s *port) {}
static inline void pd_chunk_layer_reset(typec_port port) {}
static inline void pd_chunk_layer_init(typec_port port) {}
#endif /* CFG_PD_CHUNKED_EXT_MSG */
#endif /* PD_CHUNK_FUNC_H */