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:
c4c5577
)
i2cm: send_byte should be static
author
Olivier Matz
<zer0@droids-corp.org>
Thu, 26 Jun 2014 18:34:29 +0000
(20:34 +0200)
committer
Olivier Matz
<zer0@droids-corp.org>
Thu, 26 Jun 2014 18:34:29 +0000
(20:34 +0200)
i2cm_sw.c
patch
|
blob
|
history
i2cm_sw.h
patch
|
blob
|
history
diff --git
a/i2cm_sw.c
b/i2cm_sw.c
index
6c2534a
..
e6a6748
100644
(file)
--- a/
i2cm_sw.c
+++ b/
i2cm_sw.c
@@
-112,7
+112,7
@@
void i2cm_register_event(void (*func)(i2cm_state state))
}
-uint8_t i2cm_send_byte(uint8_t byte)
+
static
uint8_t i2cm_send_byte(uint8_t byte)
{
uint8_t mask;
uint8_t err = 0;
diff --git
a/i2cm_sw.h
b/i2cm_sw.h
index
5514767
..
53b716a
100644
(file)
--- a/
i2cm_sw.h
+++ b/
i2cm_sw.h
@@
-38,7
+38,6
@@
void i2cm_manage(void);
uint8_t i2cm_get_state(void);
uint8_t i2cm_get_received_byte(void);
void i2cm_register_event(void (*func)(i2cm_state state));
-uint8_t i2cm_send_byte(uint8_t byte);
uint8_t i2cm_send_start(uint8_t sla_w);
uint8_t i2cm_send_stop(void);
uint8_t i2cm_receive_byte(uint8_t last);