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 +/** @} */