From 1dfc5f8f52a96eaf7db2b9c11367b2f4c0c1b757 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Nohlg=C3=A5rd?= Date: Sun, 27 May 2018 10:15:03 +0200 Subject: [PATCH] periph/i2c: Editorial doc changes --- drivers/include/periph/i2c.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/include/periph/i2c.h b/drivers/include/periph/i2c.h index d08cd8f4af..2f13e2a4a4 100644 --- a/drivers/include/periph/i2c.h +++ b/drivers/include/periph/i2c.h @@ -29,7 +29,7 @@ * // before accessing the bus, we need to acquire it * i2c_acquire(dev); * // next we write the register address, but create no STOP condition when done - * i2c_write_byte(dev, device_addr, reg_addr, (i2C_NOSTOP | I2C_ADDR10)); + * i2c_write_byte(dev, device_addr, reg_addr, (I2C_NOSTOP | I2C_ADDR10)); * // and now we read the register value * i2c_read_byte(dev, device_addr, ®_value, I2C_ADDR10); * // finally we have to release the bus @@ -425,4 +425,4 @@ int i2c_write_regs(i2c_t dev, uint16_t addr, uint16_t reg, #endif #endif /* PERIPH_I2C_H */ -/** @} */ \ No newline at end of file +/** @} */