summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Blecker <matthewb@google.com>2019-12-13 18:33:23 -0800
committerCommit Bot <commit-bot@chromium.org>2019-12-17 19:16:53 +0000
commit071aa62a826290bb0697d72cf3490442b46e2357 (patch)
treeca45e185a40ce93c5fddb1da079e54fba44c52ca
parent79822f50614cf1c4047dfbe01411d732b758f5cf (diff)
downloadchrome-ec-071aa62a826290bb0697d72cf3490442b46e2357.tar.gz
i2c-pseudo: Fix second example I2C transaction in Documentation.txt
BRANCH=none BUG=none TEST=none Change-Id: I3fcdfb065e5d2534e6ebcfb7cdd7d60401c8cce1 Signed-off-by: Matthew Blecker <matthewb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1968205 Reviewed-by: Harry Cutts <hcutts@chromium.org> Commit-Queue: Harry Cutts <hcutts@chromium.org>
-rw-r--r--extra/i2c_pseudo/Documentation.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/i2c_pseudo/Documentation.txt b/extra/i2c_pseudo/Documentation.txt
index a97786e9b2..3c41057915 100644
--- a/extra/i2c_pseudo/Documentation.txt
+++ b/extra/i2c_pseudo/Documentation.txt
@@ -283,8 +283,8 @@ read(fd, buf, sizeof(buf));
*
* Note that it is also valid to write these together in one write().
*/
-dprintf(fd, "I2C_XFER_REPLY 3 0 0x0070 0x0000 0\n"
-dprintf(fd, "I2C_XFER_REPLY 3 1 0x0070 0x0001 0 0B\n");
+dprintf(fd, "I2C_XFER_REPLY 1 0 0x0070 0x0000 0\n");
+dprintf(fd, "I2C_XFER_REPLY 1 1 0x0070 0x0001 0 0B\n");
/* Destroy the I2C adapter. */
close(fd);