From c746f87e35b7986d4f04f5b9bddfb1260a981497 Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Thu, 26 Jun 2014 20:34:29 +0200 Subject: [PATCH] i2cm: send_byte should be static --- i2cm_sw.c | 2 +- i2cm_sw.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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); -- 2.39.5