diff options
author | Yuval Peress <peress@google.com> | 2022-09-12 21:47:47 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-09-20 10:45:01 +0000 |
commit | e132da8dc36a0d726436ced9a1e86a4cc7e72da7 (patch) | |
tree | 52f0340d3768b35e89c1b7acf7445cc6d4f5b0e6 /include/system.h | |
parent | ae28b6ef3a40bc065ed4df72117179bafd683cbb (diff) | |
download | chrome-ec-e132da8dc36a0d726436ced9a1e86a4cc7e72da7.tar.gz |
test: fix warnings
BRANCH=none
BUG=none
TEST=twister
Signed-off-by: Yuval Peress <peress@google.com>
Change-Id: Ib330e1cac7fa2439ee133292f310d9289da86201
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3893084
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'include/system.h')
-rw-r--r-- | include/system.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/system.h b/include/system.h index 5bc3b1918c..f55e091e90 100644 --- a/include/system.h +++ b/include/system.h @@ -658,6 +658,13 @@ void disable_deep_sleep(void); void enable_deep_sleep(void); /** + * This function is made visible for tests only, it allows overriding the RTC. + * + * @param seconds + */ +void system_set_rtc(uint32_t seconds); + +/** * Use hibernate module to set up an RTC interrupt at a given * time from now * |