summaryrefslogtreecommitdiff
path: root/components/drivers/include
diff options
context:
space:
mode:
authorMan, Jianting (Meco) <[email protected]>2023-03-10 23:44:03 -0500
committerGitHub <[email protected]>2023-03-10 23:44:03 -0500
commit0275b23638e26d49ea7001e8e814a816ee68f687 (patch)
treed1b214c8d78d83bd2692633ec3953d77805231bb /components/drivers/include
parent50e1f6327d2e03b887dfbff0af2dd87fd41d4d48 (diff)
[i2c] fix the i2c device return error code (#7035)
* [i2c] fix the i2c device return error code
Diffstat (limited to 'components/drivers/include')
-rw-r--r--components/drivers/include/drivers/i2c.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/components/drivers/include/drivers/i2c.h b/components/drivers/include/drivers/i2c.h
index e7f9faa16a..1a5396c538 100644
--- a/components/drivers/include/drivers/i2c.h
+++ b/components/drivers/include/drivers/i2c.h
@@ -97,8 +97,6 @@ rt_inline rt_err_t rt_i2c_bus_unlock(struct rt_i2c_bus_device *bus)
return rt_mutex_release(&bus->lock);
}
-int rt_i2c_core_init(void);
-
#ifdef __cplusplus
}
#endif