We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09d4d5f commit c1c0f87Copy full SHA for c1c0f87
1 file changed
components/drivers/i2c/dev_i2c_core.c
@@ -24,7 +24,7 @@ rt_err_t rt_i2c_bus_device_register(struct rt_i2c_bus_device *bus,
24
{
25
rt_err_t res = RT_EOK;
26
27
- rt_mutex_init(&bus->lock, "i2c_bus_lock", RT_IPC_FLAG_PRIO);
+ rt_mutex_init(&bus->lock, "i2c_lck", RT_IPC_FLAG_PRIO);
28
29
if (bus->timeout == 0) bus->timeout = RT_TICK_PER_SECOND;
30
0 commit comments