git.droids-corp.org
/
protos
/
imu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e192404
)
i2cm: fix configuration for this hardware
author
Olivier Matz
<zer0@droids-corp.org>
Thu, 26 Jun 2014 18:33:22 +0000
(20:33 +0200)
committer
Olivier Matz
<zer0@droids-corp.org>
Thu, 26 Jun 2014 18:33:22 +0000
(20:33 +0200)
i2cm_sw.c
patch
|
blob
|
history
diff --git
a/i2cm_sw.c
b/i2cm_sw.c
index
92f2321
..
8c8e238
100644
(file)
--- a/
i2cm_sw.c
+++ b/
i2cm_sw.c
@@
-49,11
+49,11
@@
void (*g_i2cm_event)(i2cm_state state);
A5 = PC5/SCL
*/
-#define I2CM_SCL_PORT PORT
C
-#define I2CM_SCL_BIT
5
+#define I2CM_SCL_PORT PORT
D
+#define I2CM_SCL_BIT
6
-#define I2CM_SDA_PORT PORT
C
-#define I2CM_SDA_BIT
4
+#define I2CM_SDA_PORT PORT
D
+#define I2CM_SDA_BIT
5
#define I2CM_SCL I2CM_SCL_PORT, I2CM_SCL_BIT
#define I2CM_SDA I2CM_SDA_PORT, I2CM_SDA_BIT