From: Olivier Matz Date: Thu, 26 Jun 2014 18:34:29 +0000 (+0200) Subject: i2cm: send_byte should be static X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=c746f87e35b7986d4f04f5b9bddfb1260a981497;p=protos%2Fimu.git i2cm: send_byte should be static --- diff --git a/i2cm_sw.c b/i2cm_sw.c index 6c2534a..e6a6748 100644 --- 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 --- 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);