aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/src/i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/src/i2c.c b/os/hal/src/i2c.c
index 3e037332b..ba349457d 100644
--- a/os/hal/src/i2c.c
+++ b/os/hal/src/i2c.c
@@ -245,7 +245,7 @@ msg_t i2cMasterReceiveTimeout(I2CDriver *i2cp,
#if I2C_USE_MUTUAL_EXCLUSION || defined(__DOXYGEN__)
/**
* @brief Gains exclusive access to the I2C bus.
- * @details This function tries to gain ownership to the SPI bus, if the bus
+ * @details This function tries to gain ownership to the I2C bus, if the bus
* is already being used then the invoking thread is queued.
* @pre In order to use this function the option @p I2C_USE_MUTUAL_EXCLUSION
* must be enabled.