]> git.droids-corp.org - protos/imu.git/commitdiff
i2cm: decrease clock speed (could be restored later)
authorOlivier Matz <zer0@droids-corp.org>
Thu, 26 Jun 2014 18:34:58 +0000 (20:34 +0200)
committerOlivier Matz <zer0@droids-corp.org>
Thu, 26 Jun 2014 18:34:58 +0000 (20:34 +0200)
i2cm_sw.h

index 53b716a6f7b82d5a0d6c0cb81fbca39c03bd5373..4a51e57ea6666d8a0b9e1cc8d9df9bb4aa6034da 100644 (file)
--- a/i2cm_sw.h
+++ b/i2cm_sw.h
@@ -30,8 +30,8 @@ typedef uint8_t i2cm_state;
 #define I2CM_SENT_STOP 7
 #define I2CM_RECEIVED_BYTE 8
 
-#define I2CM_DELAY()  _delay_loop_2(1)
-#define I2CM_BIT_DELAY() _delay_loop_2(1)
+#define I2CM_DELAY()  _delay_loop_2(4)
+#define I2CM_BIT_DELAY() _delay_loop_2(4)
 
 void i2cm_init(void);
 void i2cm_manage(void);