summaryrefslogtreecommitdiff
path: root/common/charge_state_v2.c
diff options
context:
space:
mode:
authorYuval Peress <peress@google.com>2022-03-01 23:38:57 -0700
committerCommit Bot <commit-bot@chromium.org>2022-03-07 23:40:56 +0000
commit8bd5b2f401e3259113fa46256abeca8cf0d7b277 (patch)
treeba7175f32165874fd7283f643c52e1ca26595c9e /common/charge_state_v2.c
parent4edbbedc5d4996cc26a76c9ce305bff79c86a155 (diff)
downloadchrome-ec-8bd5b2f401e3259113fa46256abeca8cf0d7b277.tar.gz
zephyr: test: Add tests for chgstate idle command
Add tests to verify both on/off cases of the idle command BRANCH=none BUG=b:221471404 TEST=zmake configure --clobber --test test-drivers Signed-off-by: Yuval Peress <peress@google.com> Change-Id: I02ae8a70e8b1d8eddaf4c06961ad2189a1fb4cfb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3500122 Reviewed-by: Al Semjonovs <asemjonovs@google.com> Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'common/charge_state_v2.c')
-rw-r--r--common/charge_state_v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/charge_state_v2.c b/common/charge_state_v2.c
index 75ffad576b..842ac7f163 100644
--- a/common/charge_state_v2.c
+++ b/common/charge_state_v2.c
@@ -190,7 +190,7 @@ void charge_problem(enum problem_type p, int v)
problems_exist = 1;
}
-test_export_static enum ec_charge_control_mode get_chg_ctrl_mode(void)
+enum ec_charge_control_mode get_chg_ctrl_mode(void)
{
return chg_ctl_mode;
}