diff options
Diffstat (limited to 'board/cr50/recovery_button.h')
-rw-r--r-- | board/cr50/recovery_button.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/board/cr50/recovery_button.h b/board/cr50/recovery_button.h new file mode 100644 index 0000000000..4a237a776a --- /dev/null +++ b/board/cr50/recovery_button.h @@ -0,0 +1,17 @@ +/* + * Copyright 2019 The Chromium OS Authors. All rights reserved. + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +#ifndef __EC_BOARD_CR50_RECOVERY_BUTTON_H +#define __EC_BOARD_CR50_RECOVERY_BUTTON_H + +/** + * Latch a recovery button sequence. This state is latched for + * RECOVERY_BUTTON_TIMEOUT or until the AP requests the recovery button + * state. + */ +void recovery_button_record(void); + +#endif /* ! __EC_BOARD_CR50_RECOVERY_BUTTON_H */ |