X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=i2cm_sw.c;h=e6a6748339f1e7c8baf0f33fe0bd7b14e1929bf9;hb=948ce4d8427f60a2226074776f03a7225f4cbd8f;hp=0b17452b838e24722252e925360e810f4a798bba;hpb=7ac29ab17eb2281971ba376a061312b5283e4f45;p=protos%2Fimu.git diff --git a/i2cm_sw.c b/i2cm_sw.c index 0b17452..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; @@ -136,9 +136,6 @@ uint8_t i2cm_send_byte(uint8_t byte) I2CM_DELAY(); mask >>=1; - // delay needed ? - //I2CM_DELAY(); - // clock High I2C_HIGH(I2CM_SCL_PORT, I2CM_SCL_BIT); I2CM_DELAY();