summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2021-07-28 23:21:27 -0700
committerCommit Bot <commit-bot@chromium.org>2021-08-02 22:39:59 +0000
commitd6f9055cefc87094971b4e63f40f6ffa64198158 (patch)
tree28f39bffd13b59135c69da2da768d1574f89883a
parent0a62b1991b0e4da49f723e81dabb02c83f491373 (diff)
downloadchrome-ec-d6f9055cefc87094971b4e63f40f6ffa64198158.tar.gz
COIL: virtual_battery: Update terminology
BRANCH=none BUG=b:163885307 TEST=compare_build.sh matches Change-Id: I3d4c0d3498d2583836cef8886a0f58ac4ba2f1e4 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3060265 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
-rw-r--r--common/virtual_battery.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/virtual_battery.c b/common/virtual_battery.c
index 1caef535f6..0f0167556c 100644
--- a/common/virtual_battery.c
+++ b/common/virtual_battery.c
@@ -25,8 +25,8 @@
enum batt_cmd_parse_state {
IDLE = 0, /* initial state */
START = 1, /* received the register address (command code) */
- WRITE_VB, /* writing data bytes to the slave */
- READ_VB, /* reading data bytes to the slave */
+ WRITE_VB, /* writing data bytes to the peripheral */
+ READ_VB, /* reading data bytes to the peripheral */
};
static enum batt_cmd_parse_state sb_cmd_state;