mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-27 18:25:05 +00:00
common: button: Add items to .bss.slow.
BUG=chrome-os-partner:46056 BUG=chrome-os-partner:46063 BRANCH=None TEST=Enable CONFIG_REPLACE_LOADER_WITH_BSS_SLOW on GLaDOS. Build, flash, and verify EC and AP boot. Press power buttons, volume buttons, and verify all functional. TEST='sysjump rw' and repeat the above tests. TEST=make -j buildall tests CQ-DEPEND=CL:311209 Change-Id: I5dfb9003e2da1660400c04938b4f3106817ffc02 Signed-off-by: Aseda Aboagye <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/311412 Commit-Ready: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
7b69a258f6
commit
dd5b2e6eb7
@@ -22,9 +22,9 @@ struct button_state_t {
|
||||
int debounced_pressed;
|
||||
};
|
||||
|
||||
static struct button_state_t state[CONFIG_BUTTON_COUNT];
|
||||
static struct button_state_t __bss_slow state[CONFIG_BUTTON_COUNT];
|
||||
|
||||
static uint64_t next_deferred_time;
|
||||
static uint64_t __bss_slow next_deferred_time;
|
||||
|
||||
/*
|
||||
* Whether a button is currently pressed.
|
||||
|
||||
Reference in New Issue
Block a user