diff options
Diffstat (limited to 'include/hooks.h')
-rw-r--r-- | include/hooks.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/hooks.h b/include/hooks.h index 59f982eaee..1481a756a0 100644 --- a/include/hooks.h +++ b/include/hooks.h @@ -116,6 +116,13 @@ enum hook_type { HOOK_POWER_BUTTON_CHANGE, /* + * Charge state machine status changed. + * + * Hook routines are called from the charger task. + */ + HOOK_CHARGE_STATE_CHANGE, + + /* * Periodic tick, every HOOK_TICK_INTERVAL. * * Hook routines will be called from the TICK task. |