mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 09:31:51 +00:00
timer: Add note about forcetime command being unsafe
BUG=b:63909040 TEST=None BRANCH=None Change-Id: If1022655bc283377fa804e524d36ca0cca716250 Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/595042 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
fe0a3b99ff
commit
9663bdca5c
@@ -275,6 +275,11 @@ DECLARE_CONSOLE_COMMAND(waitms, command_wait,
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_CMD_FORCETIME
|
||||
/*
|
||||
* Force the hwtimer to a given time. This may have undesired consequences,
|
||||
* especially when going "backward" in time, because task deadlines are
|
||||
* left un-adjusted.
|
||||
*/
|
||||
static int command_force_time(int argc, char **argv)
|
||||
{
|
||||
char *e;
|
||||
|
||||
Reference in New Issue
Block a user