diff options
Diffstat (limited to 'board/cr50/ap_state.c')
-rw-r--r-- | board/cr50/ap_state.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/cr50/ap_state.c b/board/cr50/ap_state.c index cf30e4a85c..1224818f5b 100644 --- a/board/cr50/ap_state.c +++ b/board/cr50/ap_state.c @@ -4,6 +4,7 @@ * * AP state machine */ +#include "ec_commands.h" #include "gpio.h" #include "hooks.h" #include "registers.h" @@ -173,7 +174,7 @@ static void init_ap_detect(void) * complete. */ if (board_uses_closed_loop_reset() && - !(system_get_reset_flags() & RESET_FLAG_HIBERNATE)) { + !(system_get_reset_flags() & EC_RESET_FLAG_HIBERNATE)) { board_closed_loop_reset(); } else { /* |