summaryrefslogtreecommitdiff
path: root/common/i2c_wedge.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/i2c_wedge.c')
-rw-r--r--common/i2c_wedge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/i2c_wedge.c b/common/i2c_wedge.c
index f044b84dc3..0d930a7729 100644
--- a/common/i2c_wedge.c
+++ b/common/i2c_wedge.c
@@ -117,7 +117,7 @@ static int i2c_bang_in_bit(void)
{
int bit;
- /* Let the slave drive data */
+ /* Let the peripheral drive data */
i2c_raw_set_sda(I2C_PORT_HOST, 1);
i2c_bang_delay();
@@ -134,7 +134,7 @@ static int i2c_bang_in_bit(void)
return bit;
}
-/* Write a byte to I2C bus. Return 0 if ack by the slave. */
+/* Write a byte to I2C bus. Return 0 if ack by the peripheral. */
static int i2c_bang_out_byte(int send_start, int send_stop, unsigned char byte)
{
unsigned bit;