From 8bd5b2f401e3259113fa46256abeca8cf0d7b277 Mon Sep 17 00:00:00 2001 From: Yuval Peress Date: Tue, 1 Mar 2022 23:38:57 -0700 Subject: 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 Change-Id: I02ae8a70e8b1d8eddaf4c06961ad2189a1fb4cfb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3500122 Reviewed-by: Al Semjonovs Reviewed-by: Abe Levkoy --- common/charge_state_v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') 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; } -- cgit v1.2.1