summaryrefslogtreecommitdiff
path: root/include/hooks.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hooks.h')
-rw-r--r--include/hooks.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/hooks.h b/include/hooks.h
index 85ab1db8da..c1e0d49abe 100644
--- a/include/hooks.h
+++ b/include/hooks.h
@@ -201,6 +201,13 @@ enum hook_type {
* Hook routines will be called from the TICK task.
*/
HOOK_SECOND,
+
+ /*
+ * Detect USB PD cc disconnect.
+ *
+ * Hook routines will be called from the PD task.
+ */
+ HOOK_USB_PD_DISCONNECT,
};
struct hook_data {