projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: coding style fixes (structure naming)
[bertos.git]
/
bertos
/
drv
/
i2c.h
diff --git
a/bertos/drv/i2c.h
b/bertos/drv/i2c.h
index 2f6b4cc364e181e43e8848576ec5ff44d83f7165..f7812d4ebbc3692e6d5d5d88d26f4cd45f46bf08 100644
(file)
--- a/
bertos/drv/i2c.h
+++ b/
bertos/drv/i2c.h
@@
-153,11
+153,6
@@
bool i2c_recv(void *_buf, size_t count);
#endif /* !CONFIG_I2C_DISABLE_OLD_API */
#endif /* !CONFIG_I2C_DISABLE_OLD_API */
-
-/*
- * I2c new api
- */
-
/*
* I2C error flags
*/
/*
* I2C error flags
*/
@@
-341,7
+336,6
@@
INLINE void i2c_init_0(void)
i2c_init_3(&local_i2c_old_api, 0, CONFIG_I2C_FREQ);
#endif
}
i2c_init_3(&local_i2c_old_api, 0, CONFIG_I2C_FREQ);
#endif
}
-
#endif /* !CONFIG_I2C_DISABLE_OLD_API */
#endif /* !CONFIG_I2C_DISABLE_OLD_API */