projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merged from external project:
[bertos.git]
/
bertos
/
drv
/
i2c.h
diff --git
a/bertos/drv/i2c.h
b/bertos/drv/i2c.h
index 907a32147413dbb31d9b33e76b8bc1e5852c8747..f09ec44f8b7a8f53e8a7b3e9d5f70aa0812feff9 100644
(file)
--- a/
bertos/drv/i2c.h
+++ b/
bertos/drv/i2c.h
@@
-40,7
+40,9
@@
#include <cfg/compiler.h>
-bool i2c_init(void);
+#define I2C_READBIT BV(0)
+
+void i2c_init(void);
bool i2c_start_w(uint8_t id);
bool i2c_start_r(uint8_t id);
void i2c_stop(void);