summaryrefslogtreecommitdiff
path: root/common/keyboard_scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/keyboard_scan.c')
-rw-r--r--common/keyboard_scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/keyboard_scan.c b/common/keyboard_scan.c
index 954ff1319a..0f38692788 100644
--- a/common/keyboard_scan.c
+++ b/common/keyboard_scan.c
@@ -626,7 +626,7 @@ static uint32_t check_boot_key(const uint8_t *state)
return BOOT_KEY_NONE;
/* If reset was not caused by reset pin, refresh must be held down */
- if (!(system_get_reset_flags() & RESET_FLAG_RESET_PIN) &&
+ if (!(system_get_reset_flags() & EC_RESET_FLAG_RESET_PIN) &&
!(state[KEYBOARD_COL_REFRESH] & KEYBOARD_MASK_REFRESH))
return BOOT_KEY_NONE;