From 1e3c2faed4db782f093aa4c88fc98fa81cccc77a Mon Sep 17 00:00:00 2001 From: Mike Ajax <14773392+michaelajax@users.noreply.github.com> Date: Sun, 30 Aug 2026 09:44:23 -0700 Subject: Add "attached" state callback for UCPD --- src/typec/usbc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/typec/usbc.h') diff --git a/src/typec/usbc.h b/src/typec/usbc.h index 9fca7da0d..fc4773b07 100644 --- a/src/typec/usbc.h +++ b/src/typec/usbc.h @@ -65,6 +65,7 @@ extern void tcd_int_handler(uint8_t rhport); bool tuc_pd_data_received_cb(uint8_t rhport, pd_header_t const* header, uint8_t const* dobj, uint8_t const* p_end); bool tuc_pd_control_received_cb(uint8_t rhport, pd_header_t const* header); +void tuc_attach_changed_cb(uint8_t rhport, bool attached); //--------------------------------------------------------------------+ // -- cgit v1.3.1