diff options
author | Ruibin Chang <Ruibin.Chang@ite.com.tw> | 2021-05-11 17:41:02 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-05-19 07:40:21 +0000 |
commit | 5f6de0d0c112038efcf8e2e9755ac4c9b77686cc (patch) | |
tree | cf52ef0cf4bd053dad51b5400e992a6f89997ab1 /include | |
parent | 7275ced0eadbf0adfe307f2e3c49f830e488f89a (diff) | |
download | chrome-ec-5f6de0d0c112038efcf8e2e9755ac4c9b77686cc.tar.gz |
zephyr: modify timer for more precision
Change CONFIG_SYS_CLOCK_TICKS_PER_SEC to match our timer3 frequency
for more precise timing (1 tick ~= 30.5us).
BUG=none
BRANCH=none
TEST=on hayato, console cmd "gettime" twice
and compare to my timer time
Signed-off-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
Change-Id: I1fbd2b0674a591c57548250bc1b3ce60d8e0405c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2887025
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions